Commit d22c9c31 by Bernd Schmidt Committed by Bernd Schmidt

target-supports.exp (check_profiling_available): Don't rely solely on TLS tests…

target-supports.exp (check_profiling_available): Don't rely solely on TLS tests for -fprofile-generate...

	* testsuite/lib/target-supports.exp (check_profiling_available):
	Don't rely solely on TLS tests for -fprofile-generate, fall
	through to the other code.

From-SVN: r179263
parent ffb35bbf
2011-09-27 Bernd Schmidt <bernds@codesourcery.com>
* testsuite/lib/target-supports.exp (check_profiling_available):
Don't rely solely on TLS tests for -fprofile-generate, fall
through to the other code.
2011-09-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50363
......
......@@ -459,12 +459,9 @@ proc check_profiling_available { test_what } {
# Tree profiling requires TLS runtime support.
if { $test_what == "-fprofile-generate" } {
# AVR does not support profile generation because
# it does not implement needed support functions.
if { [istarget avr-*-*] } {
if { ![check_effective_target_tls_runtime] } {
return 0
}
return [check_effective_target_tls_runtime]
}
# Support for -p on solaris2 relies on mcrt1.o which comes with the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment