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

2013-06-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  Known to work||4.7.3, 4.8.1, 4.9.0
 Resolution|--- |FIXED

--- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com ---
Fixed in 4.7.0.


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

2011-09-16 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2011-09-16 
09:44:21 UTC ---
your final version exits immediately using 4.6.1, but not with 4.5

although it might finish eventually I do think this can be considered a bug


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

2011-09-16 Thread pipping at exherbo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Elias Pipping pipping at exherbo dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|INVALID |

--- Comment #5 from Elias Pipping pipping at exherbo dot org 2011-09-16 
22:04:55 UTC ---
If you say it's a bug, it's a bug. :)


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

2011-09-16 Thread pipping at exherbo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

--- Comment #6 from Elias Pipping pipping at exherbo dot org 2011-09-16 
22:08:16 UTC ---
Created attachment 25308
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25308
reduction for gcc 4.6.1

I used gcc 4.5 during reduction, assuming that a reduced test case would hang
for all versions since the original code did.

Here's a reduced version that makes gcc 4.6 hang (but not 4.4 or 4.5).


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

2011-09-16 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011-09-16
 Ever Confirmed|0   |1

--- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2011-09-16 
22:26:08 UTC ---
great, thanks for reducing them


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

2011-09-15 Thread pipping at exherbo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Elias Pipping pipping at exherbo dot org changed:

   What|Removed |Added

  Attachment #25266|0   |1
is obsolete||

--- Comment #1 from Elias Pipping pipping at exherbo dot org 2011-09-15 
20:51:37 UTC ---
Created attachment 25298
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25298
further reduced


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

2011-09-15 Thread pipping at exherbo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50390

Elias Pipping pipping at exherbo dot org changed:

   What|Removed |Added

  Attachment #25298|0   |1
is obsolete||

--- Comment #2 from Elias Pipping pipping at exherbo dot org 2011-09-15 
23:45:36 UTC ---
Created attachment 25300
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25300
further reduced

automatically reduced -- by character (so the file makes no effort to make
sense anymore. just to make g++ hang)


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

2011-09-15 Thread pipping at exherbo dot org
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.