From: Mark Mitchell Date: Mon, 13 Nov 2006 17:49:43 +0000 (+0000) Subject: re PR c++/29518 (rejects valid template argument, enums vs templates) X-Git-Tag: releases/gcc-4.3.0~8492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ffd0efe9c1e90c519d83f2a221c25295546bb1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dc6a2663a9b0..ecd9bac15268 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2006-11-13 Mark Mitchell + + PR c++/29518 + * pt.c (coerce_template_parms): Do not skip_evaluation while + substituting template arguments. + 2006-11-11 Richard Guenther * typeck.c (build_unary_op): Remove handling of FIX_CEIL_EXPR, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b0dc1fe4d089..faba37f33b21 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-11-13 Mark Mitchell + + PR c++/29518 + * g++.dg/template/static28.C: New test. + 2006-11-13 Carlos O'Donell * lib/c-torture.exp: Use target-libpath.exp.