This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r249323 - in /trunk/gcc: cp/ChangeLog cp/call.c...


Author: jason
Date: Sat Jun 17 02:28:25 2017
New Revision: 249323

URL: https://gcc.gnu.org/viewcvs?rev=249323&root=gcc&view=rev
Log:
	PR c++/81045 - Wrong type-dependence with auto return type.

	* pt.c (type_dependent_expression_p): An undeduced auto outside the
	template isn't dependent.
	* call.c (build_over_call): Instantiate undeduced auto even in a
	template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn39.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn27.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]