This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66383] [5/6 Regression] ICE in gimplify_expr on this passed in inline initialization
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Jun 2015 17:19:44 +0000
- Subject: [Bug c++/66383] [5/6 Regression] ICE in gimplify_expr on this passed in inline initialization
- Auto-submitted: auto-generated
- References: <bug-66383-4 at http dot gcc dot gnu dot org/bugzilla/>
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