r267533 - in /trunk/gcc: cp/ChangeLog cp/typeck...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Wed Jan 2 22:20:00 GMT 2019


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



More information about the Gcc-cvs mailing list