]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/60223 - ICE with T{} in non-deduced context.
authorMarek Polacek <polacek@redhat.com>
Tue, 2 Jul 2019 00:22:37 +0000 (00:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 2 Jul 2019 00:22:37 +0000 (00:22 +0000)
commit7b966ac81e09c04a33fdc496f8313204c530fe7d
tree74f16d9a204e95febaf682f1ef2d22dc1c239a32
parente2a5555a1eb3758aace7d40a9990f32967380495
PR c++/60223 - ICE with T{} in non-deduced context.

* pt.c (unify): Allow COMPOUND_LITERAL_P in a non-deduced context.

* g++.dg/cpp0x/nondeduced1.C: New test.
* g++.dg/cpp0x/nondeduced2.C: New test.
* g++.dg/cpp0x/nondeduced3.C: New test.
* g++.dg/cpp0x/nondeduced4.C: New test.

From-SVN: r272917
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/nondeduced1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/nondeduced2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/nondeduced3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/nondeduced4.C [new file with mode: 0644]