Commit 48ffd0ef by Mark Mitchell

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
parent a2c5ed87
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,
......
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment