diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-07-05 11:47:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-07-05 11:47:05 +0200 |
commit | bdfc619ed80b29b35aff74731f84915e033a5e84 (patch) | |
tree | 29d65b5931984e80b81ce622d2a143c4e9f4f9e2 /gcc/gcc.c | |
parent | c98446bc37da231419f6524d788dc6a4712458c8 (diff) | |
download | gcc-bdfc619ed80b29b35aff74731f84915e033a5e84.zip gcc-bdfc619ed80b29b35aff74731f84915e033a5e84.tar.gz gcc-bdfc619ed80b29b35aff74731f84915e033a5e84.tar.bz2 |
Revert
2018-07-04 Maxim Ostapenko <m.ostapenko@samsung.com>
PR sanitizer/84250
* config/gnu-user.h (LIBASAN_EARLY_SPEC): Pass -lstdc++ for static
libasan.
* gcc.c: Do not pass LIBUBSAN_SPEC if ASan is enabled with UBSan.
* Makefile.am: Reorder libs.
* Makefile.in: Regenerate.
* asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
libsanitizer_ubsan.la.
* asan/Makefile.in: Regenerate.
* ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
* ubsan/Makefile.in: Regenerate.
From-SVN: r262433
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -993,7 +993,7 @@ proper position among the other output files. */ %{static:%ecannot specify -static with -fsanitize=address}}\ %{%:sanitize(thread):" LIBTSAN_SPEC "\ %{static:%ecannot specify -static with -fsanitize=thread}}\ - %{!%:sanitize(address):%{%:sanitize(undefined):" LIBUBSAN_SPEC "}}\ + %{%:sanitize(undefined):" LIBUBSAN_SPEC "}\ %{%:sanitize(leak):" LIBLSAN_SPEC "}}}" #endif |