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 tree-optimization/46493] New: [4.3/4.4 Regression] ICE: verify_flow_info failed when casting-out attribute noreturn
Date: Tue, 16 Nov 2010 01:13:00 -0000	[thread overview]
Message-ID: <bug-46493-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: [4.3/4.4 Regression] ICE: verify_flow_info failed when
                    casting-out attribute noreturn
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


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

+++ This bug was initially created as a clone of Bug #46165 +++

These two ICEs might be related. The testcase is very similiar. The first one
needs -fno-tree-ccp, the second one fails with just -O.

The testcase for PR46165 crashes in 4.4 with following message:
$ gcc -O -fno-tree-ccp pr46165.c  
pr46165.c: In function 'g':
pr46165.c:2: error: control flow in the middle of basic block 2
pr46165.c:2: 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.

With the attached testcase, however, it crashes with a different message:
$ gcc -O testcase.c 
testcase.c:1: warning: data definition has no type or storage class
testcase.c: In function 'g':
testcase.c:4: warning: initialization from incompatible pointer type
testcase.c:6: error: verify_flow_info: Incorrect fallthru 3->4
testcase.c:6: error: wrong insn in the fallthru edge
(barrier 7 6 16)
testcase.c:6: internal compiler error: in rtl_verify_flow_info, at
cfgrtl.c:2067
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
4.4 r166509 - crash (with yes,rtl,df checking)


             reply	other threads:[~2010-11-16  1:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  1:13 zsojka at seznam dot cz [this message]
2010-11-16 10:21 ` [Bug tree-optimization/46493] " rguenth at gcc dot gnu.org
2011-06-27 10:42 ` rguenth at gcc dot gnu.org
2011-06-27 13:30 ` rguenth at gcc dot gnu.org
2012-03-13 16:55 ` [Bug tree-optimization/46493] [4.4 " jakub 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-46493-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).