diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2011-07-06 16:05:18 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2011-07-06 16:05:18 +0000 |
commit | c8ecdaba8771fa7acbff71d1a857dd5fee898601 (patch) | |
tree | 5f0db1dd92f7859f7936d91680f6639e685c02a6 /gcc | |
parent | d0edd768de548507869ddec157f2e8b3551a6231 (diff) | |
download | gcc-c8ecdaba8771fa7acbff71d1a857dd5fee898601.zip gcc-c8ecdaba8771fa7acbff71d1a857dd5fee898601.tar.gz gcc-c8ecdaba8771fa7acbff71d1a857dd5fee898601.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d0254e6..9a0768c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 4e56e48..1b06771 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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] } |