http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47808
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-09 13:27:02 UTC --- (In reply to comment #2) > > $ /Users/eschnett/gcc/bin/g++ -fopenmp -Wall -g3 -m128bit-long-double > -march=native -std=gnu++0x -fbounds-check -fstack-protector-all -ftrapv -O0 > -fopenmp -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align > -Woverloaded-virtual -c iobasic.ii Most of these options have no effect on the ICE, when reporting bugs it is helpful if you could reduce the command to the minimum that still causes the error. In this case I don't think any of the options are relevant to the error except -std=gnu++0x and maybe -fopenmp. It's even more helpful if you can reduce the source code to something smaller that still fails, see http://gcc.gnu.org/bugs/minimize.html for tips. At the very least, compiling with -DNDEBUG would remove the __assert_rtn calls which don't compile anywhere except Mac OS X.