[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-08-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558

Eric Gallager  changed:

   What|Removed |Added

   Target Milestone|9.3 |8.5

--- Comment #30 from Eric Gallager  ---
(In reply to Bernd Edlinger from comment #29)
> Hm, the target milestone is wrong. I believe this was fixed in gcc-9

changing it to something starting in 8 then

[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-08-12 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558

--- Comment #29 from Bernd Edlinger  ---
Hm, the target milestone is wrong. I believe this was fixed in gcc-9

[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|9.2 |9.3

--- Comment #28 from Jakub Jelinek  ---
GCC 9.2 has been released.

[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-05-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|9.0 |9.2

--- Comment #27 from Jakub Jelinek  ---
GCC 9.1 has been released.

[Bug c/69558] [7/8 Regression] glib2 warning pragmas stopped working

2019-01-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558

--- Comment #26 from Eric Gallager  ---
(In reply to Bernd Edlinger from comment #25)
> 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  
> 
> 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  
> 
> 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

So this still needs to be backported to the 7 and 8 branches before this bug
can be closed, correct?