[Bug c++/29518] [4.0/4.1/4.2/4.3 Regression] rejects valid template argument, enums vs templates

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 13 17:50:00 GMT 2006



------- Comment #15 from mmitchel at gcc dot gnu dot org  2006-11-13 17:49 -------
Subject: Bug 29518

Author: mmitchel
Date: Mon Nov 13 17:49:43 2006
New Revision: 118768

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118768
Log:
        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.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29518



More information about the Gcc-bugs mailing list