[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 2 19:51:19 GMT 2020


--- Comment #44 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:


commit r11-27-g6abe1c3084798d3e5f32926c352643e557073e01
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat May 2 12:46:44 2020 -0700

    gfortran: Get asan library from TEST_ALWAYS_FLAGS

    Update gfortran_target_compile to get the newly built asan library from
    TEST_ALWAYS_FLAGS to avoid:

    /usr/bin/ld: cannot find libasan_preinit.o: No such file or directory
    /usr/bin/ld: cannot find -lasan
    collect2: error: ld returned 1 exit status
    compiler exited with status 1
    FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=address  -O0  (test
for excess errors)

            PR fortran/94788
            * lib/gfortran.exp (gfortran_target_compile): Get asan library
            from TEST_ALWAYS_FLAGS.

More information about the Gcc-bugs mailing list