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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:0af9613810ecdc991633f58f5dd81a574aa2af31

commit r16-8180-g0af9613810ecdc991633f58f5dd81a574aa2af31
Author: Christopher Albert <[email protected]>
Date:   Tue Mar 10 23:26:13 2026 +0100

    fortran: Fix scalar OpenACC attach/detach lowering [PR120723]

    Lower bare scalar OpenACC attach/detach clauses as direct attach operations
instead of emitting standalone pointer-mapping nodes.

            PR fortran/120723

    gcc/fortran/ChangeLog:

            * trans-openmp.cc (gfc_trans_omp_clauses): Handle bare scalar
            OpenACC attach/detach clauses without pointer-mapping nodes.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/goacc/pr120723.f90: New test.

    Signed-off-by: Christopher Albert <[email protected]>

Reply via email to