[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2020-11-13 Thread law at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

Jeffrey A. Law  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #8 from Jeffrey A. Law  ---
Should be fixed on the trunk now.

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2020-11-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

--- Comment #7 from CVS Commits  ---
The master branch has been updated by Jeff Law :

https://gcc.gnu.org/g:6f1ae1ecd351348eb33b515c5e23778651bee028

commit r11-4999-g6f1ae1ecd351348eb33b515c5e23778651bee028
Author: Piotr H. Dabrowski 
Date:   Fri Nov 13 12:27:16 2020 -0500

Do not warn about unused macros while processing #pragma GCC optimize

libcpp

PR c++/91318
* include/cpplib.h: Added cpp_define_unused(),
cpp_define_formatted_unused()
* directives.c: Likewise.

gcc/c-family

PR c++/91318
* c-cppbuiltin.c: c_cpp_builtins_optimize_pragma(): use
cpp_define_unused()

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2020-01-28 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2020-01-28
 CC||law at redhat dot com
 Ever confirmed|0   |1

--- Comment #6 from Jeffrey A. Law  ---
Pings need to go to the gcc-patches mailing list.  At this point we're well
into stage4 (regression bugfixing) and ISTM this needs to defer to the next
stage1 development cycle which typically starts in the spring.

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2020-01-11 Thread phd at phd dot re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

--- Comment #5 from Piotr Henryk Dabrowski  ---
Ping.

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2019-11-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

--- Comment #4 from Eric Gallager  ---
(In reply to Piotr Henryk Dabrowski from comment #3)
> Sent:
> https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00325.html

Sorry that it doesn't seem to have been reviewed yet; please ping it
occasionally!

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

2019-08-05 Thread phd at phd dot re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91318

--- Comment #3 from Piotr Henryk Dabrowski  ---
Sent:
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00325.html

[Bug c++/91318] [C++][PATCH] warnings about unused internal macros with -Wunused-macros and #pragma GCC optimize

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

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org
 Blocks||89180

--- Comment #2 from Eric Gallager  ---
(In reply to Piotr Henryk Dabrowski from comment #1)
> Created attachment 46656 [details]
> 0001-do-not-warn-unused-macros-pragma-gcc-optimize.patch

please send the patch to the gcc-patches mailing list for review


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180
[Bug 89180] [meta-bug] bogus/missing -Wunused warnings