This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249333 - in /branches/gcc-7-branch/gcc: cp/Cha...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 17 Jun 2017 02:34:17 -0000
- Subject: 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