[PATCH, testsuite]: Improve check_effective_target_fsanitize_thread

Eric Botcazou ebotcazou@adacore.com
Wed Feb 3 14:36:00 GMT 2016

> Attached patch improves detection of working -fsanitize=thread option.
> Check for working -fsanitize=thread option timeouts with older glibcs,
> so tsan_init detects this case and sets default compile flags to
> compile.
> Recently Eric changed check_effective_target_fsanitize_thread to a
> runtime test, and we *again* unnecessarily waste 5 minutes of test
> time here, waiting for a test to timeout.

Well, if you don't want someone else to do it again, you'd better adjust the 
comments as well because, as Jakub put it, the whole stuff is rather weird.

Eric Botcazou

More information about the Gcc-patches mailing list