[Bug fortran/95119] [9/10 Regression] CLOSE hangs when -fopenmp is specified in compilation

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 22 14:02:49 GMT 2020


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Thomas Kथà¤nig
<tkoenig@gcc.gnu.org>:

https://gcc.gnu.org/g:8275e0a6686b465d4d1717784e3e864305d37d02

commit r10-8170-g8275e0a6686b465d4d1717784e3e864305d37d02
Author: Thomas Koenig <tkoenig@gcc.gnu.org>
Date:   Thu May 14 18:30:27 2020 +0200

    Add early return for invalid STATUS for close.

    2020-05-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

            PR libfortran/95119
            * io/close.c (close_status): Add CLOSE_INVALID.
            (st_close): Return early on invalid STATUS parameter.

    2020-05-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

            PR libfortran/95119
            * testsuite/libgomp.fortran/close_errors_1.f90: New test.

    (cherry picked from commit cdc34b505796327b3eee9e97bc5f27ba71fd9e7a)
    (cherry picked from commit d975519ad1066ed0397714c91aafadadb52a63dd)


More information about the Gcc-bugs mailing list