http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51769
--- Comment #1 from Matt Hargett <matt at use dot net> 2012-01-05 16:03:06 UTC --- Created attachment 26255 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26255 pre-processed source of the file that triggers the ICE commandline to trigger the ICE with the attached file (once decompressed): g++ -O2 -funswitch-loops -floop-flatten -c caller-save.i Removing any one of the options, or replacing the O2 with Os, eliminated the ICE.