http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49029
Summary: ICE in simplify_subreg, at simplify-rtx.c:5266 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: rmansfi...@qnx.com $ cat ~/ice.i #pragma pack(1) struct S0 { volatile unsigned f0:11; signed f2:30; }; struct S1 { volatile struct S0 f7; }; struct S1 a, b; void bar () { foo (a.f7.f0) && foo (b.f7.f2); } $ ./xgcc -v Using built-in specs. COLLECT_GCC=./xgcc Target: arm-unknown-linux-gnueabi Configured with: ../configure --target=arm-unknown-linux-gnueabi --prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi --with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root --disable-multilib --with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared --disable-libmudflap --disable-libssp Thread model: posix gcc version 4.7.0 20110517 (experimental) [trunk revision 173832] (GCC) $ ./xgcc -B. ~/ice.i /home/ryan/ice.i: In function 'bar': /home/ryan/ice.i:19:29: internal compiler error: in simplify_subreg, at simplify-rtx.c:5266 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.