r272571 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Fri Jun 21 20:32:00 GMT 2019
Author: mpolacek
Date: Fri Jun 21 20:32:06 2019
New Revision: 272571
URL: https://gcc.gnu.org/viewcvs?rev=272571&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced1.C
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced2.C
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced3.C
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list