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

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

https://gcc.gnu.org/g:3d5ed337cb354c2f85a9caf60377bad887b18d53

commit r11-2849-g3d5ed337cb354c2f85a9caf60377bad887b18d53
Author: Tobias Burnus <tob...@codesourcery.com>
Date:   Tue Aug 25 17:46:13 2020 +0200

    OpenMP: Improve map-clause error message for array function parameter
(PR96678)

    gcc/c/ChangeLog:

            PR c/96678
            * c-typeck.c (handle_omp_array_sections_1): Talk about
            array function parameter in the error message.

    gcc/cp/ChangeLog:

            PR c/96678
            * semantics.c (handle_omp_array_sections_1): Talk about
            array function parameter in the error message.

    gcc/testsuite/ChangeLog:

            PR c/96678
            * c-c++-common/gomp/map-4.c: New test.
            * c-c++-common/gomp/depend-1.c: Update dg-error.
            * c-c++-common/gomp/map-1.c: Likewise.
            * c-c++-common/gomp/reduction-1.c: Likewise.
            * g++.dg/gomp/depend-1.C: Likewise.
            * g++.dg/gomp/depend-2.C: Likewise.

Reply via email to