[Bug c++/124348] [OpenMP] rejects valid, parsing problem with omp target unroll partial while with nested brackets, i.e. #pragma omp target { #pragma omp unroll partial would work

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 3 20:20:08 GMT 2026


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC is correct.
unroll and target are directives. You can only have one directive on each
pragma.


More information about the Gcc-bugs mailing list