[Bug c++/51230] [4.7 Regression] Broken diagnostic: 'template_parm_index' not supported by dump_type

2011-11-20 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51230

--- Comment #1 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 
2011-11-20 22:37:56 UTC ---
Author: paolo
Date: Sun Nov 20 22:37:54 2011
New Revision: 181538

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=181538
Log:
/cp
2011-11-20  Paolo Carlini  paolo.carl...@oracle.com

PR c++/51230
* pt.c (unify_inconsistency): Handle non-type parameters better.
* error.c (dump_expr): Handle TEMPLATE_TEMPLATE_PARM.

/cp
2011-11-20  Paolo Carlini  paolo.carl...@oracle.com

PR c++/51230
* g++.dg/template/error46.C: New.


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


[Bug c++/51230] [4.7 Regression] Broken diagnostic: 'template_parm_index' not supported by dump_type

2011-11-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51230

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2011-11-20 
22:39:24 UTC ---
Fixed.


[Bug c++/51230] [4.7 Regression] Broken diagnostic: 'template_parm_index' not supported by dump_type

2011-11-19 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51230

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||diagnostic
   Target Milestone|--- |4.7.0


[Bug c++/51230] [4.7 Regression] Broken diagnostic: 'template_parm_index' not supported by dump_type

2011-11-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51230

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2011-11-19
 AssignedTo|unassigned at gcc dot   |paolo.carlini at oracle dot
   |gnu.org |com
 Ever Confirmed|0   |1