[Bug fortran/93462] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3771

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 3 11:12:00 GMT 2020


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

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

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

commit r9-8198-ge5446f2201d93fc9adc913ed320aa70437ff4235
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Mon Feb 3 12:09:46 2020 +0100

    [Fortran] Disable front-end optimization for OpenACC atomic (PR93462)

        Backported from mainline
        2020-01-31  Tobias Burnus  <tobias@codesourcery.com>

        PR fortran/93462
        * frontend-passes.c (gfc_code_walker): For EXEC_OACC_ATOMIC, set
        in_omp_atomic to true prevent front-end optimization.

        PR fortran/93462
        * gfortran.dg/goacc/atomic-1.f90: New.


More information about the Gcc-bugs mailing list