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]

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


Author: paolo
Date: Thu Jul 28 18:43:29 2016
New Revision: 238828

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

	PR c++/71665
	* decl.c (build_enumerator): Check the type of the enumerator before
	calling cxx_constant_value.

/testsuite
2016-07-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/71665
	* g++.dg/cpp0x/pr71665-1.C: New.
	* g++.dg/cpp0x/pr71665-2.C: Likewise.
	* g++.dg/cpp0x/enum29.C: Adjust dg-error string.
	* g++.dg/ext/label10.C: Likewise.
	* g++.dg/parse/constant5.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr71665-1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr71665-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/enum29.C
    trunk/gcc/testsuite/g++.dg/ext/label10.C
    trunk/gcc/testsuite/g++.dg/parse/constant5.C


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