re PR c++/29518 (rejects valid template argument, enums vs templates)

PR c++/29518
	* pt.c (coerce_template_parms): Do not skip_evaluation while
	substituting template arguments.
	PR c++/29518
	* g++.dg/template/static28.C: New test.

From-SVN: r118768
This commit is contained in:
Mark Mitchell 2006-11-13 17:49:43 +00:00
parent a2c5ed873e
commit 48ffd0efe9
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-11-13 Mark Mitchell <mark@codesourcery.com>
PR c++/29518
* pt.c (coerce_template_parms): Do not skip_evaluation while
substituting template arguments.
2006-11-11 Richard Guenther <rguenther@suse.de>
* typeck.c (build_unary_op): Remove handling of FIX_CEIL_EXPR,

View File

@ -1,3 +1,8 @@
2006-11-13 Mark Mitchell <mark@codesourcery.com>
PR c++/29518
* g++.dg/template/static28.C: New test.
2006-11-13 Carlos O'Donell <carlos@codesourcery.com>
* lib/c-torture.exp: Use target-libpath.exp.