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

2012-01-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403

--- Comment #2 from Jason Merrill jason at gcc dot gnu.org 2012-01-12 
17:27:02 UTC ---
Author: jason
Date: Thu Jan 12 17:26:57 2012
New Revision: 183132

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=183132
Log:
PR c++/51403
* pt.c (unify): Handle error_mark_node.

Added:
trunk/gcc/testsuite/g++.dg/template/arg8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


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

2012-01-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jason at gcc dot gnu.org
 Resolution||FIXED

--- Comment #3 from Jason Merrill jason at gcc dot gnu.org 2012-01-12 
17:50:40 UTC ---
Fixed.


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

2011-12-07 Thread paolo.carlini at oracle dot com
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.


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

2011-12-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P5


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

2011-12-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||error-recovery,
   ||ice-on-invalid-code
   Target Milestone|--- |4.7.0