re PR c++/66383 (ICE in gimplify_expr on this passed in inline initialization)
authorJason Merrill <jason@redhat.com>
Tue, 9 Jun 2015 14:13:22 +0000 (10:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Jun 2015 14:13:22 +0000 (10:13 -0400)
commit6a9263f7ef63cbaa9c0a4aa98d53372721602090
treec6d39a28387c557977f1695d788c6aa55ac4101b
parentfe2bef710763c2900de5dc087f3bcb49d00e8db2
re PR c++/66383 (ICE in gimplify_expr on this passed in inline initialization)

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.

From-SVN: r224282
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr3.C [new file with mode: 0644]