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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to zhonghao from comment #0)
> gcc accepts the code, but with -fopenacc, it rejects it:

Yes, that seems obvious. A bogus OpenACC pragma will be ignored without
-fopenacc but will be rejected with -fopenacc. That's not a bug.

It's not the GCC manual's place to explain how to use OpenACC.

Reply via email to