public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
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
Date: Mon, 20 Dec 2010 02:46:00 -0000	[thread overview]
Message-ID: <bug-47018-4@http.gcc.gnu.org/bugzilla/> (raw)

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 <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


             reply	other threads:[~2010-12-20  2:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  2:46 zsojka at seznam dot cz [this message]
2010-12-20  9:29 ` [Bug debug/47018] " jakub at gcc dot gnu.org
2011-12-15  1:54 ` pinskia at gcc dot gnu.org
2021-08-13 21:25 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47018-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).