This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66383] [5/6 Regression] ICE in gimplify_expr on this passed in inline initialization


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  9 17:19:12 2015
New Revision: 224291

URL: https://gcc.gnu.org/viewcvs?rev=224291&root=gcc&view=rev
Log:
        PR c++/66383
        * tree.c (replace_placeholders_r): Handle placeholders for an
        outer object.
        * typeck2.c (store_init_value): Only replace_placeholders for
        objects of class type.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr3.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/tree.c
    branches/gcc-5-branch/gcc/cp/typeck2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]