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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Austin Morton from comment #5)
> https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553182.html
> 
> I sent a patch to do exactly that in 2020 and it was not accepted.

Thanks. The review thread continues in November (but the mail archive doesn't
thread it properly across months):

https://gcc.gnu.org/pipermail/gcc-patches/2020-November/558900.html

I see what Jeff is saying, but I think the pragmatic approach here is to just
do exactly what your patch does: hardcode this warning as a no-op. We don't
have to do that for every pragma implemented by every compiler, because giving
a -Wunknown-pragmas warning about *unknown* pragmas is useful. GCC doesn't know
what the pragma was attempting to do, so it should warn.

But we do know what this one does: nothing. It's not unknown.

Reply via email to