This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267533 - in /trunk/gcc: cp/ChangeLog cp/typeck...
- From: mpolacek at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 02 Jan 2019 22:20:45 -0000
- Subject: r267533 - in /trunk/gcc: cp/ChangeLog cp/typeck...
Author: mpolacek
Date: Wed Jan 2 22:20:45 2019
New Revision: 267533
URL: https://gcc.gnu.org/viewcvs?rev=267533&root=gcc&view=rev
Log:
PR c++/88631 - CTAD failing for value-initialization.
* typeck2.c (build_functional_cast): Try deducing the template
arguments even if there are no arguments to deduce from.
* g++.dg/cpp1z/class-deduction59.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction59.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog