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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun  1 22:48:58 2018
New Revision: 261091

URL: https://gcc.gnu.org/viewcvs?rev=261091&root=gcc&view=rev
Log:
        PR c++/85873 - constant initializer_list array not in .rodata.

        * call.c (convert_like_real): Treat the backing array for an
        initializer_list like a C99 compound literal.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/tree-ssa/array-temp1.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/call.c

Reply via email to