[Bug c++/50390] gcc hangs while compiling invalid c++ code

pipping at exherbo dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 16 06:58:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Elias Pipping <pipping at exherbo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Elias Pipping <pipping at exherbo dot org> 2011-09-16 00:23:07 UTC ---
I'm starting to think that gcc is not actually hanging. If I use
-ftemplate-depth with values around 100 I can get it to exit after a while. The
order of growth is alarming, though (going from depth 100 to 150 makes it take
~6 times as long to exit), so since 1024 is the default it would certainly feel
endless with that.



More information about the Gcc-bugs mailing list