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

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

https://gcc.gnu.org/g:6abe1c3084798d3e5f32926c352643e557073e01

commit r11-27-g6abe1c3084798d3e5f32926c352643e557073e01
Author: H.J. Lu <hjl.to...@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.

Reply via email to