This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 22:00:07 +0000
- Subject: [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
- Auto-submitted: auto-generated
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
- Follow-Ups:
- [Bug c/47963] [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
- From: jakub at gcc dot gnu.org
- [Bug c/47963] [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
- From: rguenth at gcc dot gnu.org
- [Bug c/47963] [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
- From: jakub at gcc dot gnu.org
- [Bug c/47963] [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
- From: jakub at gcc dot gnu.org
- [Bug c/47963] [4.5 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
- From: jakub at gcc dot gnu.org