https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79015
Bug ID: 79015 Summary: ICE in get_insn_template in gcc/final.c:2081 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- All releases I have (4.5.0) ICE in following code: $ cat /tmp/ice.c int foo (int x, int y) { int z = x + y; return x * y; } __attribute__((optimize ("no-var-tracking"))) int bar (int x, int y) { int z = x + y; return x * y; } $ ./xgcc -B. /tmp/ice.c -g -O /tmp/ice.c: In function ‘bar’: /tmp/ice.c:13:1: internal compiler error: in get_insn_template, at final.c:2081 } ^ 0x8df156 get_insn_template(int, rtx_def*) ../../gcc/final.c:2081 0x8e171a final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../gcc/final.c:2982 0x8e27d2 final(rtx_insn*, _IO_FILE*, int) ../../gcc/final.c:2046 0x8e2f89 rest_of_handle_final ../../gcc/final.c:4475 0x8e2f89 execute ../../gcc/final.c:4548