re PR c++/66536 (ICE in build_ctor_subob_ref, at cp/tree.c:2534)
authorJason Merrill <jason@redhat.com>
Tue, 16 Jun 2015 19:29:19 +0000 (15:29 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 16 Jun 2015 19:29:19 +0000 (15:29 -0400)
commit7599760d235cf31c8c6013b62fb41cc810b514b6
tree88c3e7c999851944ff1fdca5df950053679d27cb
parent2ed4c0297fb2ece975c69d17e02eac8d8b62325b
re PR c++/66536 (ICE in build_ctor_subob_ref, at cp/tree.c:2534)

PR c++/66536
* tree.c (replace_placeholders_r) [CONSTRUCTOR]: Handle type
mismatch.

From-SVN: r224534
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/g++.dg/cpp1y/var-templ30.C [new file with mode: 0644]