This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78774] [6/7 Regression] ICE in constexpr string literals and templates
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Dec 2016 03:08:47 +0000
- Subject: [Bug c++/78774] [6/7 Regression] ICE in constexpr string literals and templates
- Auto-submitted: auto-generated
- References: <bug-78774-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78774
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Thu Dec 15 03:08:14 2016
New Revision: 243683
URL: https://gcc.gnu.org/viewcvs?rev=243683&root=gcc&view=rev
Log:
PR c++/78774 - [6/7 Regression] ICE in constexpr string literals and templates
gcc/cp/ChangeLog:
PR c++/78774
* pt.c (convert_template_argument): Avoid assuming operand type
is non-null since that of SCOPE_REF is not.
gcc/testsuite/ChangeLog:
PR c++/78774
* g++.dg/cpp1y/pr78774.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr78774.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog