This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249323 - in /trunk/gcc: cp/ChangeLog cp/call.c...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 17 Jun 2017 02:28:26 -0000
- Subject: 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