This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262861 - in /trunk: gcc/testsuite/ChangeLog gc...
- From: edlinger at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 18 Jul 2018 19:36:02 -0000
- Subject: r262861 - in /trunk: gcc/testsuite/ChangeLog gc...
Author: edlinger
Date: Wed Jul 18 19:36:01 2018
New Revision: 262861
URL: https://gcc.gnu.org/viewcvs?rev=262861&root=gcc&view=rev
Log:
libcpp:
2018-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR 69558
* macro.c (enter_macro_context): Change the location info for builtin
macros and _Pragma from location of the closing parenthesis to location
of the macro expansion point.
testsuite:
2018-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR 69558
* c-c++-common/cpp/diagnostic-pragma-2.c: New test.
* c-c++-common/pr69558.c: Remove xfail.
* gcc.dg/cpp/builtin-macro-1.c: Adjust test expectations.
* gcc.dg/pr61817-1.c: Likewise.
* gcc.dg/pr61817-2.c: Likewise.
* g++.dg/plugin/pragma_plugin.c: Warn at expansion_point_location.
Added:
trunk/gcc/testsuite/c-c++-common/cpp/diagnostic-pragma-2.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/pr69558.c
trunk/gcc/testsuite/g++.dg/plugin/pragma_plugin.c
trunk/gcc/testsuite/gcc.dg/cpp/builtin-macro-1.c
trunk/gcc/testsuite/gcc.dg/pr61817-1.c
trunk/gcc/testsuite/gcc.dg/pr61817-2.c
trunk/libcpp/ChangeLog
trunk/libcpp/macro.c