[Bug c++/51403] [4.7 Regression] ICE with invalid template parameter

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 7 17:06:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-12-07
     Ever Confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-07 17:06:11 UTC ---
Doesn't ICE in release mode.

In general, we have an issue with <void> as non-type parameter: when we see it,
we of course error out, we store an error_mark_node and go ahead normally. Then
the error_mark_node can come out in many different places: lots of ICEs, all
ultimately due to the same issue.



More information about the Gcc-bugs mailing list