The following code is reduced from a usage of boost, where one word was spelt incorrectly. My code reducer has done some very unusual things while reducing the size of the test case.
The following code, on my code, causes g++ to spend 1 minute outputting 16 million lines, then eventually ICEing. It seems to be a problem with recursive templates, but it would be nicer if g++ gave up a little earlier. Confirmed on g++ 4.4 and svn trunk. -- Summary: Invalid code causes ICE Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chris at bubblescope dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44609