Commit c8ecdaba by Georg-Johann Lay Committed by Georg-Johann Lay

target-supports.exp (check_profiling_available): Disable profiling with…

target-supports.exp (check_profiling_available): Disable profiling with -fprofile-generate for target avr.

	* lib/target-supports.exp (check_profiling_available): Disable
	profiling with -fprofile-generate for target avr.

From-SVN: r175922
parent d0edd768
2011-07-06 Georg-Johann Lay <avr@gjlay.de>
* lib/target-supports.exp (check_profiling_available): Disable
profiling with -fprofile-generate for target avr.
2011-07-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49645
......
......@@ -497,6 +497,11 @@ 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-*-*] } {
return 0
}
return [check_effective_target_tls_runtime]
}
......
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