Bug 46786 - ICE: verify_stmts failed: statement marked for throw, but doesn't with -fopenmp -fnon-call-exceptions
ICE: verify_stmts failed: statement marked for throw, but doesn't with -fopen...
Status: UNCONFIRMED
Product: gcc
Classification: Unclassified
Component: middle-end
4.6.0
: P3 normal
: ---
Assigned To: Not yet assigned to anyone
: ice-on-valid-code
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-03 15:00 UTC by Zdenek Sojka
Modified: 2010-12-03 15:00 UTC (History)
0 users

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build:
Known to work:
Known to fail: 4.4.6, 4.5.2, 4.6.0
Last reconfirmed:


Attachments
reduced testcase (from gcc.dg/gomp/pr25989.c) (139 bytes, text/plain)
2010-12-03 15:00 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2010-12-03 15:00:19 UTC
Created attachment 22617 [details]
reduced testcase (from gcc.dg/gomp/pr25989.c)

Compiler output:
$ gcc -O -fopenmp -fexceptions -fnon-call-exceptions pr46786.c 
pr46786.c: In function 'foo._omp_fn.0':
pr46786.c:5:9: error: statement marked for throw, but doesn't
.omp_data_i__a_lsm.7_9 = D.2714_8;

pr46786.c:5:9: 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:
r167383 - crash
4.5 r166509 - crash
4.4 r166509 - crash