PR c++/29518
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Nov 2006 17:49:43 +0000 (17:49 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Nov 2006 17:49:43 +0000 (17:49 +0000)
* pt.c (coerce_template_parms): Do not skip_evaluation while
substituting template arguments.
PR c++/29518
* g++.dg/template/static28.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118768 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index dc6a266..ecd9bac 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 b0dc1fe..faba37f 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.