gcc.c (SANITIZER_SPEC): Don't error on -fsanitize=thread without -pie or -shared...
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Nov 2014 19:54:49 +0000 (20:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 26 Nov 2014 19:54:49 +0000 (20:54 +0100)
commit4bb0ca2d1e6a8b625788a191fe28f5698cae2344
tree4890373cde717cbb4efea5468fbf0ab1385b156a
parent45c89690541ea6acd52c2dd417e90e5bd00b6071
gcc.c (SANITIZER_SPEC): Don't error on -fsanitize=thread without -pie or -shared...

* gcc.c (SANITIZER_SPEC): Don't error on -fsanitize=thread
without -pie or -shared, error on -fsanitize=thread -static instead.

* lib/tsan-dg.exp (check_effective_target_fsanitize_thread,
tsan_init): Don't use -fPIE or -pie.

From-SVN: r218097
gcc/ChangeLog
gcc/gcc.c
gcc/testsuite/ChangeLog
gcc/testsuite/lib/tsan-dg.exp