This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79476] C++ frontend ignores diagnostic pragma in macro
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Feb 2017 22:59:29 +0000
- Subject: [Bug c++/79476] C++ frontend ignores diagnostic pragma in macro
- Auto-submitted: auto-generated
- References: <bug-79476-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79476
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |RESOLVED
CC| |msebor at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm pretty sure this is a duplicate of bug 69558, although according to my
bisection the commit that caused it is r214221 (gcc 5.0.0):
r214221 | manu | 2014-08-20 08:48:16 -0400 (Wed, 20 Aug 2014) | 19 lines
gcc/ChangeLog:
2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/59304
* opts-common.c (set_option): Call diagnostic_classify_diagnostic
before setting the option.
* diagnostic.c (diagnostic_classify_diagnostic): Record
command-line status.
*** This bug has been marked as a duplicate of bug 69558 ***