This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: simonb
Date: Mon Apr 23 22:48:37 2007
New Revision: 124083

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124083
Log:
	* cp/decl.c (grokparms): Added new error for duplicate function
	parameters names in function prototypes, to match gcc behavior.

	* testsuite/g++.dg/other/error15.C: New.
	* testsuite/g++.dg/cpp0x/variadic-ex9.C: Renamed function parameter to
	avoid triggering a "multiple parameters named" error.


Added:
    trunk/gcc/testsuite/g++.dg/other/error15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-ex9.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]