diff options
author | Andrew Pinski <apinski@cavium.com> | 2014-10-02 06:35:49 +0000 |
---|---|---|
committer | Maxim Ostapenko <chefmax@gcc.gnu.org> | 2014-10-02 09:35:49 +0300 |
commit | 9fbbb20da58853217f84a9c4b82c84274c27144f (patch) | |
tree | 297f9d61a147322f1921b51d41c0c3a0d04e1cda /gcc/ipa-devirt.c | |
parent | 9189aff736d51a1884d983010bfebfeb16d57516 (diff) | |
download | gcc-9fbbb20da58853217f84a9c4b82c84274c27144f.zip gcc-9fbbb20da58853217f84a9c4b82c84274c27144f.tar.gz gcc-9fbbb20da58853217f84a9c4b82c84274c27144f.tar.bz2 |
gcc/testsuite/
2014-10-01 Andrew Pinski <apinski@cavium.com>
Max Ostapenko <m.ostapenko@partner.samsung.com>
* lib/ubsan-dg.exp
(check_effective_target_fsanitize_address): New function.
(ubsan_init): Save off ALWAYS_CXXFLAGS.
(ubsan_finish): Restore ALWAYS_CXXFLAGS correctly.
* lib/asan-dg.exp
(check_effective_target_faddress_sanitizer): Rename to ...
(check_effective_target_fsanitize_address): ... this. Change to creating
an executable.
(asan_init): Save off ALWAYS_CXXFLAGS.
(asan_finish): Restore ALWAYS_CXXFLAGS correctly.
* lib/tsan-dg.exp
(check_effective_target_fthread_sanitizer): Rename to ...
(check_effective_target_fsanitize_thread): ... this. Change to creating
an executable.
(tsan_init): Save off ALWAYS_CXXFLAGS.
(tsan_finish): Restore ALWAYS_CXXFLAGS correctly. Set dg-do-what-default
to run as a default behaviour.
* gcc.dg/ubsan/ubsan.exp: Don't check the return value of ubsan_init.
Check check_effective_target_fsanitize_undefined before running the
tests.
* g++.dg/ubsan/ubsan.exp: Likewise.
* gcc.dg/asan/asan.exp: Don't check the return value of asan_init.
check_effective_target_fsanitize_address too early.
Check check_effective_target_fsanitize_address before running the tests.
* g++.dg/asan/asan.exp: Likewise.
* gcc.dg/tsan/tsan.exp: Don't check the return value of tsan_init.
check_effective_target_fsanitize_thread too early.
Check check_effective_target_fsanitize_thread before running the tests.
* g++.dg/tsan/tsan.exp: Likewise.
Co-Authored-By: Max Ostapenko <m.ostapenko@partner.samsung.com>
From-SVN: r215793
Diffstat (limited to 'gcc/ipa-devirt.c')
0 files changed, 0 insertions, 0 deletions