http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59934
Bug ID: 59934 Summary: Bootstrap fail since r206941: expmed.h:252:33: error: array subscript is above array bounds Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Bootstrap on s390x started failing with r206941: Author: law Date: Wed Jan 22 21:27:38 2014 New Revision: 206941 URL: http://gcc.gnu.org/viewcvs?rev=206941&root=gcc&view=rev Log: PR tree-optimization/59597 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier in file. Accept new argument REGISTERING and use it to modify dump output appropriately. (register_jump_thread): Corresponding changes. (mark_threaded_blocks): Reinstate code to cancel unprofitable thread paths involving joiner blocks. Add code to dump cancelled jump threading paths. PR tree-optimization/59597 * gcc.dg/tree-ssa/pr59597.c: New test. Stage 2: In file included from /home/andreas/clean/gcc-head/gcc/expmed.c:39:0: /home/andreas/clean/gcc-head/gcc/expmed.h: In function ‘void init_expmed()’: /home/andreas/clean/gcc-head/gcc/expmed.h:252:33: error: array subscript is above array bounds [-Werror=array-bounds] return &costs->cost[speed][idx]; ^ /home/andreas/clean/gcc-head/gcc/expmed.h:252:33: error: array subscript is above array bounds [-Werror=array-bounds]