http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52882
Bug #: 52882 Summary: ICE in memory_address_length, at config/i386/i386.c:23373 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: reg...@cs.utah.edu [regehr@dyson r1]$ current-gcc -c -O small.c small.c: In function 'fn3': small.c:14:1: internal compiler error: in memory_address_length, at config/i386/i386.c:23373 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [regehr@dyson r1]$ cat small.c struct S1 { int f0; int f1; }; int fn1 (); void fn2 (struct S1); void fn3 () { struct S1 a = { 1, 0 }; if (fn1 ()) fn2 (a); for (; a.f1;) { } } [regehr@dyson r1]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r186167-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-r186167-install --program-prefix=r186167- --enable-languages=c,c++ Thread model: posix gcc version 4.8.0 20120405 (experimental) (GCC)