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

--- Comment #14 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Thu Dec  8 19:27:32 2016
New Revision: 243457

URL: https://gcc.gnu.org/viewcvs?rev=243457&root=gcc&view=rev
Log:
        PR c++/78551
        * constexpr.c (extract_string_elt): New.  Broken out of ...
        (cxx_eval_array_reference): ... here.  Call it.
        (cxx_eval_store_expression): Convert init by STRING_CST into
        CONSTRUCTOR, if needed.

        PR c++/78551
        * g++.dg/cpp1y/pr78551.C: New.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/pr78551.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/constexpr.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to