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]

r249333 - in /branches/gcc-7-branch/gcc: cp/Cha...


Author: jason
Date: Sat Jun 17 02:34:15 2017
New Revision: 249333

URL: https://gcc.gnu.org/viewcvs?rev=249333&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:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn39.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/call.c
    branches/gcc-7-branch/gcc/cp/pt.c
    branches/gcc-7-branch/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]