http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50615
Bug #: 50615 Summary: [4.7 Regression] ICE: in distribute_notes, at combine.c:13282 with -O --param max-cse-insns=1 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25415 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25415 reduced testcase Compiler output: $ gcc -O --param max-cse-insns=1 testcase.c testcase.c: In function 'foo': testcase.c:10:1: internal compiler error: in distribute_notes, at combine.c:13282 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. (gdb) bt #0 fancy_abort (file=0x14296f8 "/mnt/svn/gcc-trunk/gcc/combine.c", line=13282, function=0x142b370 "distribute_notes") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892 #1 0x000000000104a02c in distribute_notes (notes=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/combine.c:13282 #2 0x0000000001074e98 in try_combine (i3=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/combine.c:4224 #3 0x000000000107f8a6 in combine_instructions () at /mnt/svn/gcc-trunk/gcc/combine.c:1223 #4 rest_of_handle_combine () at /mnt/svn/gcc-trunk/gcc/combine.c:13890 #5 0x00000000008dc1f8 in execute_one_pass (pass=0x1774180) at /mnt/svn/gcc-trunk/gcc/passes.c:2064 #6 0x00000000008dc565 in execute_pass_list (pass=0x1774180) at /mnt/svn/gcc-trunk/gcc/passes.c:2119 #7 0x00000000008dc577 in execute_pass_list (pass=0x176f860) at /mnt/svn/gcc-trunk/gcc/passes.c:2120 #8 0x0000000000a342fe in tree_rest_of_compilation (fndecl=0x7ffff5688a00) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:420 #9 0x000000000068e526 in cgraph_expand_function (node=0x7ffff7ed16c0) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1805 #10 0x000000000069046c in cgraph_expand_all_functions () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1864 #11 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2141 #12 0x000000000069085a in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1312 #13 0x0000000000574073 in c_write_global_declarations () at /mnt/svn/gcc-trunk/gcc/c-decl.c:9936 #14 0x00000000009d1dc4 in compile_file (argc=15, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:581 #15 do_compile (argc=15, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:1925 #16 toplev_main (argc=15, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:2001 #17 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6 #18 0x0000000000557ad9 in _start () Tested revisions: r179488 - crash r179167 - crash r178498 - OK 4.6 r177922 - OK