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: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz CC: al...@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++.