http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47018
Summary: ICE: in pre_and_rev_post_order_compute, at cfganal.c:1047 with -fnon-call-exceptions -fvar-tracking -g Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 22826 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22826 reduced testcase Compiler output: $ gcc -fnon-call-exceptions -fvar-tracking -g pr47018.C pr47018.C: In function 'void foo(float)': pr47018.C:12:1: internal compiler error: in pre_and_rev_post_order_compute, at cfganal.c:1047 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=0x125c3a8 "/mnt/svn/gcc-trunk/gcc/cfganal.c", line=1047, function=0x125c5c0 "pre_and_rev_post_order_compute") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892 #1 0x0000000000724d27 in pre_and_rev_post_order_compute (pre_order=0x0, rev_post_order=0x19495c0, include_entry_exit=0 '\000') at /mnt/svn/gcc-trunk/gcc/cfganal.c:1047 #2 0x0000000000bc7b41 in vt_find_locations () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:6025 #3 0x0000000000bc9475 in variable_tracking_main_1 () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:8522 #4 variable_tracking_main () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:8567 #5 0x0000000000939d96 in execute_one_pass (pass=0x17bb680) at /mnt/svn/gcc-trunk/gcc/passes.c:1553 #6 0x000000000093a085 in execute_pass_list (pass=0x17bb680) at /mnt/svn/gcc-trunk/gcc/passes.c:1608 #7 0x000000000093a097 in execute_pass_list (pass=0x17b8180) at /mnt/svn/gcc-trunk/gcc/passes.c:1609 #8 0x000000000093a097 in execute_pass_list (pass=0x17b81e0) at /mnt/svn/gcc-trunk/gcc/passes.c:1609 #9 0x0000000000a7a2a6 in tree_rest_of_compilation (fndecl=0x7ffff5d1c600) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:422 #10 0x0000000000c3f552 in cgraph_expand_function (node=0x7ffff5d1f2c0) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1508 #11 0x0000000000c41f1d in cgraph_output_in_order () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1661 #12 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1822 #13 0x0000000000c421aa in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1031 #14 0x00000000005b75bd in cp_write_global_declarations () at /mnt/svn/gcc-trunk/gcc/cp/decl2.c:3974 #15 0x0000000000a23b76 in compile_file (argc=16, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:591 #16 do_compile (argc=16, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:1874 #17 toplev_main (argc=16, argv=0x7fffffffdad8) at /mnt/svn/gcc-trunk/gcc/toplev.c:1937 #18 0x00007ffff6586bbd in __libc_start_main () from /lib/libc.so.6 #19 0x00000000004fe711 in _start () Tested revisions: r168061 - crash 4.5 r168062 - crash 4.4 r168062 - crash