public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/106670] [OpenMP][5.2] Warn for unknown '!$ompx' (!$omx') sentinels
       [not found] <bug-106670-4@http.gcc.gnu.org/bugzilla/>
@ 2022-09-08 19:04 ` cvs-commit at gcc dot gnu.org
  2022-09-08 19:08 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-08 19:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:264deecb16abcfc8ca8efe9b94b0ad55febd55cc

commit r13-2552-g264deecb16abcfc8ca8efe9b94b0ad55febd55cc
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Sep 8 21:03:21 2022 +0200

    OpenMP: Document ompx warnings + add Fortran omx warning [PR106670]

    omp/ompx sentinels are for vendor extensions; as they might be required for
    the correctness of the program, a warning should be printable. This patch
    documents in the OpenMP 5.2 table the existing warnings, including the new
    warning for for fixed source form Fortran.

            PR fortran/106670

    gcc/fortran/ChangeLog:

            * scanner.cc (skip_fixed_omp_sentinel): Add -Wsurprising warning
            for 'omx' sentinels with -fopenmp.
            * invoke.texi (-Wsurprising): Document additional warning case.

    libgomp/ChangeLog:

            * libgomp.texi (OpenMP 5.2): Add comment to ompx/omx entry.

    gcc/testsuite/ChangeLog:

            * c-c++-common/gomp/ompx-1.c: New test.
            * c-c++-common/gomp/ompx-2.c: New test.
            * g++.dg/gomp/ompx-attrs-1.C: New test.
            * gfortran.dg/gomp/ompx-1.f90: New test.
            * gfortran.dg/gomp/omx-1.f: New test.
            * gfortran.dg/gomp/omx-2.f: New test.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/106670] [OpenMP][5.2] Warn for unknown '!$ompx' (!$omx') sentinels
       [not found] <bug-106670-4@http.gcc.gnu.org/bugzilla/>
  2022-09-08 19:04 ` [Bug fortran/106670] [OpenMP][5.2] Warn for unknown '!$ompx' (!$omx') sentinels cvs-commit at gcc dot gnu.org
@ 2022-09-08 19:08 ` burnus at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2022-09-08 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-08 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-106670-4@http.gcc.gnu.org/bugzilla/>
2022-09-08 19:04 ` [Bug fortran/106670] [OpenMP][5.2] Warn for unknown '!$ompx' (!$omx') sentinels cvs-commit at gcc dot gnu.org
2022-09-08 19:08 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).