[Bug fortran/106566] [OpenMP] declare simd fails with with bogus "already been host associated" for module procedures

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 23 11:52:31 GMT 2022


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

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

https://gcc.gnu.org/g:50b7cf395656ccd32d4d5d8e0e338135d28f52f6

commit r12-8704-g50b7cf395656ccd32d4d5d8e0e338135d28f52f6
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Aug 23 11:29:23 2022 +0200

    Fortran: OpenMP fix declare simd inside modules and absent linear step
[PR106566]

    Partial backport from commit r13-2093, only, as 'OpenMP 5.2 linear
    clause syntax' is not on GCC 12.

    gcc/fortran/ChangeLog:

            PR fortran/106566
            * openmp.cc (gfc_match_omp_declare_simd): Accept module procedures.

    gcc/testsuite/ChangeLog:

            PR fortran/106566
            * gfortran.dg/gomp/declare-simd-6.f90: New test.

    (cherry picked from commit 1513512ec7d0751cba30c9c8804f2be462acfb9b)


More information about the Gcc-bugs mailing list