From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17493 invoked by alias); 20 Dec 2010 02:46:59 -0000 Received: (qmail 17484 invoked by uid 22791); 20 Dec 2010 02:46:58 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Dec 2010 02:46:54 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/47018] New: ICE: in pre_and_rev_post_order_compute, at cfganal.c:1047 with -fnon-call-exceptions -fvar-tracking -g X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 20 Dec 2010 02:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02325.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: zsojka@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 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