http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52891
John Regehr <regehr at cs dot utah.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |regehr at cs dot utah.edu --- Comment #2 from John Regehr <regehr at cs dot utah.edu> 2012-04-10 14:08:41 UTC --- Another small testcase, if that's helpful. [regehr@dyson r18]$ cat small.c #pragma pack(1) struct S2 { unsigned f0:22; }; struct { struct S2 f0; } c; int a, b, d; void fn1 () { if (1 ? (!c.f0.f0 & d < 0) < a : 0) b = 0; } [regehr@dyson r18]$ current-gcc -O3 -c small.c small.c: In function 'fn1': small.c:12:1: internal compiler error: in adjust_bool_pattern, at tree-vect-patterns.c:2301 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [regehr@dyson r18]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r186257-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r186257-install --program-prefix=r186257- --enable-languages=c,c++ Thread model: posix gcc version 4.8.0 20120410 (experimental) (GCC)