[Bug fortran/92899] [8 Regression] [OpenMP] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3769
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:36:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92899
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:f9a0c0800994d5e0b68c0a8eed47454bce841f97
commit r8-9994-gf9a0c0800994d5e0b68c0a8eed47454bce841f97
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Feb 14 15:23:34 2020 +0100
backport: re PR fortran/92899 ([OpenMP] ICE in gfc_trans_omp_atomic, at
fortran/trans-openmp.c:3769)
Backported from mainline
2019-12-11 Jakub Jelinek <jakub@redhat.com>
PR fortran/92899
* trans-openmp.c (gfc_trans_omp_atomic): For GFC_OMP_ATOMIC_SWAP,
do look through conversion on expr2 if any.
* testsuite/libgomp.fortran/atomic1.f90: New test.
More information about the Gcc-bugs
mailing list