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]

r262832 - in /trunk: gcc/testsuite/ChangeLog gc...


Author: jakub
Date: Tue Jul 17 18:10:57 2018
New Revision: 262832

URL: https://gcc.gnu.org/viewcvs?rev=262832&root=gcc&view=rev
Log:
	* lex.c (_cpp_lex_direct): Use CPP_DL_NOTE instead of CPP_DL_PEDWARN,
	CPP_DL_WARNING or CPP_DL_ERROR for note that diagnostics for C++ style
	comments is reported only once per file and guard those calls on the
	preceding cpp_error returning true.

	* gcc.dg/cpp/pr61854-c90.c (foo): Expect a note, rather than error.
	* gcc.dg/cpp/pr61854-c94.c (foo): Likewise.
	* gcc.dg/cpp/pr61854-4.c (foo): Likewise.
	* gcc.dg/cpp/pr61854-8.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/pr61854-8.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/pr61854-4.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr61854-c90.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr61854-c94.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c


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