This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70505] [4.9/5 Regression] Constexpr failure when template type specified
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2016 15:59:51 +0000
- Subject: [Bug c++/70505] [4.9/5 Regression] Constexpr failure when template type specified
- Auto-submitted: auto-generated
- References: <bug-70505-4 at http dot gcc dot gnu dot org/bugzilla/>
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