http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55497
--- Comment #3 from Greg Burri <greg.burri at gmail dot com> 2012-11-27 22:28:24 UTC --- Here we go, I attached the cpp file, just use this command line: g++ -g gcc_crash.cpp It compiles without issue if I omit the '-g' argument. It crashes on Ubuntu 12.10 and with mingw under Windows 7 both with GCC 4.7.2. It takes me one hour to find the origin...