public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47087] New: ICE: verify_stmts failed: statement marked for throw, but doesn't with -O -fexceptions -fnon-call-exceptions -ftrapv
@ 2010-12-28 20:56 zsojka at seznam dot cz
  2010-12-29  2:54 ` [Bug tree-optimization/47087] [4.5/4.6 Regression] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-28 20:56 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: verify_stmts failed: statement marked for throw,
                    but doesn't with -O -fexceptions -fnon-call-exceptions
                    -ftrapv
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: steven@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 22861
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22861
reduced testcase (from gcc.c-torture/execute/pr43220.c)

After submitting PR47086, I noticed the reduced testcase fails with different
message than the original testcase. This one shows the same ICE as original
testcase.

Compiler output:
$ gcc -O -fexceptions -fnon-call-exceptions -ftrapv pr47087.c  
pr47087.c: In function 'foo':
pr47087.c:2:1: error: statement marked for throw, but doesn't
D.2685_4 = (int) ivtmp.8_32;

pr47087.c:2:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r168296 - crash

I don't know if this is a regression or not.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-11 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-28 20:56 [Bug tree-optimization/47087] New: ICE: verify_stmts failed: statement marked for throw, but doesn't with -O -fexceptions -fnon-call-exceptions -ftrapv zsojka at seznam dot cz
2010-12-29  2:54 ` [Bug tree-optimization/47087] [4.5/4.6 Regression] " hjl.tools at gmail dot com
2011-01-03 21:40 ` rguenth at gcc dot gnu.org
2011-01-11 13:26 ` rguenth at gcc dot gnu.org
2011-01-11 14:21 ` law at redhat dot com

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