[Bug c/47963] New: [4.5/4.6 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'integer_cst' in is_global_var, at tree-flow-inline.h:599 on invalid code with -fopenmp
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Wed Mar 2 22:00:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47963
Summary: [4.5/4.6 Regression] ICE: tree check: expected tree
that contains 'decl common' structure, have
'integer_cst' in is_global_var, at
tree-flow-inline.h:599 on invalid code with -fopenmp
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 23519
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23519
reduced testcase
Compiler output:
$ gcc -fopenmp testcase.c
testcase.c: In function 'foo':
testcase.c:3:7: error: size of array 'A' has non-integer type
testcase.c:3:7: error: size of array 'A' has non-integer type
testcase.c:4:9: internal compiler error: tree check: expected tree that
contains 'decl common' structure, have 'integer_cst' in is_global_var, at
tree-flow-inline.h:599
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r170594 - crash
4.5 r170013 - crash
4.4 r170013 - OK
More information about the Gcc-bugs
mailing list