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

Reply via email to