r237460 - in /branches/gcc-6-branch/gcc: cp/Cha...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Tue Jun 14 20:55:00 GMT 2016


Author: paolo
Date: Tue Jun 14 20:55:08 2016
New Revision: 237460

URL: https://gcc.gnu.org/viewcvs?rev=237460&root=gcc&view=rev
Log:
/cp
2016-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/70572
	* decl.c (cp_finish_decl): Check do_auto_deduction return value
	and return immediately in case of erroneous code.

/testsuite
2016-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/70572
	* g++.dg/cpp1y/auto-fn31.C: New.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn31.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/decl.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list