This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]