r221337 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Tue Mar 10 22:20:00 GMT 2015
Author: paolo
Date: Tue Mar 10 22:20:41 2015
New Revision: 221337
URL: https://gcc.gnu.org/viewcvs?rev=221337&root=gcc&view=rev
Log:
/cp
2015-03-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65370
* decl.c (duplicate_decls): Call check_redeclaration_no_default_args
only if the location of newdecl doesn't match the location of olddecl.
/testsuite
2015-03-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65370
* g++.dg/other/default11.C: New.
* g++.dg/other/default12.C: Likewise.
Added:
trunk/gcc/testsuite/g++.dg/other/default11.C
trunk/gcc/testsuite/g++.dg/other/default12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list