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 middle-end/51212] New: ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -fgnu-tm -fnon-call-exceptions and transaction_callable
Date: Fri, 18 Nov 2011 18:12:00 -0000	[thread overview]
Message-ID: <bug-51212-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51212

             Bug #: 51212
           Summary: ICE: verify_flow_info failed: BB 3 can not throw but
                    has an EH edge with -fgnu-tm -fnon-call-exceptions and
                    transaction_callable
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: amacleod@redhat.com
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 25854
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25854
reduced testcase

Compiler output:
$ gcc -fgnu-tm -fnon-call-exceptions testcase.C 
testcase.C: In function 'void foo(int*)':
testcase.C:9:6: error: BB 3 can not throw but has an EH edge
testcase.C:9:6: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  internal_error (gmsgid=0x1403c6b "verify_flow_info failed") at
/mnt/svn/gcc-trunk/gcc/diagnostic.c:839
#1  0x00000000007ff57f in verify_flow_info () at
/mnt/svn/gcc-trunk/gcc/cfghooks.c:259
#2  0x0000000000a6a0ef in execute_function_todo (data=Unhandled dwarf
expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/passes.c:1722
#3  0x0000000000a6a93d in execute_todo (flags=16392) at
/mnt/svn/gcc-trunk/gcc/passes.c:1751
#4  0x0000000000a6db5a in execute_one_pass (pass=0x199a740) at
/mnt/svn/gcc-trunk/gcc/passes.c:2097
#5  0x0000000000a6de85 in execute_pass_list (pass=0x199a740) at
/mnt/svn/gcc-trunk/gcc/passes.c:2129
#6  0x0000000000bcfafe in tree_rest_of_compilation (fndecl=0x7ffff56fdf00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:420
#7  0x0000000000823b5a in cgraph_expand_function (node=0x7ffff55876c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1819
#8  0x0000000000825c96 in cgraph_output_in_order () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1984
#9  cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2194
#10 0x000000000082606a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1327
#11 0x000000000064779b in cp_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/cp/decl2.c:4050
#12 0x0000000000b62d84 in compile_file (argc=15, argv=0x7fffffffdab8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:581
#13 do_compile (argc=15, argv=0x7fffffffdab8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1931
#14 toplev_main (argc=15, argv=0x7fffffffdab8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2007
#15 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6
#16 0x000000000056ba39 in _start ()

Tested revisions:
r181442 - crash


             reply	other threads:[~2011-11-18 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18 18:12 zsojka at seznam dot cz [this message]
2011-12-14  2:29 ` [Bug middle-end/51212] " pinskia at gcc dot gnu.org
2011-12-21 16:29 ` aldyh at gcc dot gnu.org
2011-12-21 17:26 ` rth at gcc dot gnu.org
2011-12-22 20:21 ` aldyh at gcc dot gnu.org
2011-12-22 20:43 ` aldyh at gcc dot gnu.org
2012-01-04 14:54 ` aldyh 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-51212-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).