[Bug c++/70505] [4.9/5 Regression] Constexpr failure when template type specified

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 18 16:00:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70505

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed May 18 15:59:19 2016
New Revision: 236411

URL: https://gcc.gnu.org/viewcvs?rev=236411&root=gcc&view=rev
Log:
        PR c++/70505 - partial instantiation of template-id

        * pt.c (tsubst_baselink): Give the new TEMPLATE_ID_EXPR
        unknown_type_node, too.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-template10.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list