]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/29518 (rejects valid template argument, enums vs templates)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 13 Nov 2006 17:49:43 +0000 (17:49 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 13 Nov 2006 17:49:43 +0000 (17:49 +0000)
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

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index dc6a2663a9b0948296a8bbdb938668886b49f269..ecd9bac152686c882a51aa3593314bd70a6411d0 100644 (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,
index b0dc1fe4d089e9ba37fa6c689364a169f533eb0a..faba37f33b217b83d87064ae11df719f07e0a395 100644 (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.