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

--- Comment #4 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri May 17 19:13:15 2019
New Revision: 271344

URL: https://gcc.gnu.org/viewcvs?rev=271344&root=gcc&view=rev
Log:
[PR89433] Use 'oacc_verify_routine_clauses' for C/C++ OpenACC 'routine'
directives

        gcc/
        PR middle-end/89433
        * omp-general.c (oacc_build_routine_dims): Move some of its
        processing into...
        (oacc_verify_routine_clauses): ... this new function.
        * omp-general.h (oacc_verify_routine_clauses): New prototype.
        gcc/c/
        PR c/89433
        * c-parser.c (c_parser_oacc_routine): Normalize order of clauses.
        (c_finish_oacc_routine): Call oacc_verify_routine_clauses.
        gcc/cp/
        PR c++/89433
        * parser.c (cp_parser_oacc_routine)
        (cp_parser_late_parsing_oacc_routine): Normalize order of clauses.
        (cp_finalize_oacc_routine): Call oacc_verify_routine_clauses.
        gcc/testsuite/
        PR testsuite/89433
        * c-c++-common/goacc/routine-2.c: Update, and move some test
        into...
        * c-c++-common/goacc/routine-level-of-parallelism-1.c: ... this
        new file.

Added:
    trunk/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/omp-general.c
    trunk/gcc/omp-general.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/goacc/routine-2.c

Reply via email to