This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50141] New: ICE: tree check: expected var_decl, have parm_decl in get_bit_range, at expr.c:4357 with --param allow-store-data-races=0 and bitfields
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Aug 2011 09:16:41 +0000
- Subject: [Bug c/50141] New: ICE: tree check: expected var_decl, have parm_decl in get_bit_range, at expr.c:4357 with --param allow-store-data-races=0 and bitfields
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50141
Bug #: 50141
Summary: ICE: tree check: expected var_decl, have parm_decl in
get_bit_range, at expr.c:4357 with --param
allow-store-data-races=0 and bitfields
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: aldyh@gcc.gnu.org
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 25063
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25063
reduced testcase
Compiler output:
$ gcc --param allow-store-data-races=0 testcase.c
testcase.c: In function 'foo':
testcase.c:11:7: internal compiler error: tree check: expected var_decl, have
parm_decl in get_bit_range, at expr.c:4357
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The same happens when compiled as C++.