[Bug c++/85153] _Pragma to disable -Wswitch-unreachable diagnostic not properly working when used within preprocessor macro

lhyatt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 19 20:29:26 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85153

Lewis Hyatt <lhyatt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
                 CC|                            |lhyatt at gcc dot gnu.org
             Status|NEW                         |RESOLVED

--- Comment #6 from Lewis Hyatt <lhyatt at gcc dot gnu.org> ---
This was the same issue as PR91669. Fixed by r10-325 and a testcase was added
in r13-3051.

*** This bug has been marked as a duplicate of bug 91669 ***


More information about the Gcc-bugs mailing list