[Bug c++/55497] Local array (char[]) initialized with a size taken from a static variable creates an ICE

greg.burri at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 27 22:28:00 GMT 2012


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...



More information about the Gcc-bugs mailing list