http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48694
--- Comment #1 from John Regehr <regehr at cs dot utah.edu> 2011-04-19 21:16:39 UTC --- Sorry forgot to add this. [regehr@gamow tmp011]$ current-gcc -O1 -fwhole-program small.c -w current-gcc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [regehr@gamow tmp011]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r172662-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.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-r172662-install --program-prefix=r172662- --enable-languages=c,c++ Thread model: posix gcc version 4.7.0 20110418 (experimental) (GCC)