diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-05-02 12:46:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-05-02 12:46:55 -0700 |
commit | 6abe1c3084798d3e5f32926c352643e557073e01 (patch) | |
tree | 2c0efa69af61cc41cbef8d5c69a4537d033a6101 /gcc/fold-const.c | |
parent | 7df457899078c5889194c1736cffcfd4d50f5305 (diff) | |
download | gcc-6abe1c3084798d3e5f32926c352643e557073e01.zip gcc-6abe1c3084798d3e5f32926c352643e557073e01.tar.gz gcc-6abe1c3084798d3e5f32926c352643e557073e01.tar.bz2 |
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.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions