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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Thomas Schwinge <tschwi...@gcc.gnu.org>:

https://gcc.gnu.org/g:ff3f862b451496dd4afbe2dbfae82afab59a42c6

commit r10-7676-gff3f862b451496dd4afbe2dbfae82afab59a42c6
Author: Thomas Schwinge <tho...@codesourcery.com>
Date:   Wed Mar 4 17:58:33 2020 +0100

    Handle 'omp declare target' attribute set for both OpenACC and OpenMP
'target' [PR89433, PR93465]

    ... which as of PR89433 commit b48f44bf77a39fefc238a16cf1225c6464c82406
causes
    an ICE.  Not sure if this is actually supposed to be valid or invalid code.
    Until the interactions between OpenACC and OpenMP 'target' get defined
    properly, make this a compile-time error.

            gcc/
            PR middle-end/89433
            PR middle-end/93465
            * omp-general.c (oacc_verify_routine_clauses): Diagnose if
            "#pragma omp declare target" has also been applied.
            gcc/testsuite/
            PR middle-end/89433
            PR middle-end/93465
            * c-c++-common/goacc-gomp/pr93465-1.c: New file.

Reply via email to