This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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

Author: mmitchel
Date: Mon Nov 13 17:48:28 2006
New Revision: 118767

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

Added:
    trunk/gcc/testsuite/g++.dg/template/static28.C
Modified:
    trunk/gcc/cp/pt.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]