r229523 - in /trunk/gcc: cp/ChangeLog cp/decl.c...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Thu Oct 29 13:12:00 GMT 2015


Author: paolo
Date: Thu Oct 29 13:12:45 2015
New Revision: 229523

URL: https://gcc.gnu.org/viewcvs?rev=229523&root=gcc&view=rev
Log:
/cp
2015-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/67845
	* decl.c (grokfndecl): In case of erroneous cv-qualified non-member
	functions consistently reset TREE_TYPE (decl) too.

/testsuite
2015-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/67845
	* g++.dg/other/cv_func4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/cv_func4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list