diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-09-01 14:43:13 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@gcc.gnu.org> | 2014-09-01 14:43:13 +0000 |
commit | 3c88b88a815cd8f35240d11db217462799c44a6c (patch) | |
tree | 23ccf993c868ba0b2eb0b3f412faf7604292ae72 | |
parent | eddcad13f9143b38ed45fcdce364316da6701c7c (diff) | |
download | gcc-3c88b88a815cd8f35240d11db217462799c44a6c.zip gcc-3c88b88a815cd8f35240d11db217462799c44a6c.tar.gz gcc-3c88b88a815cd8f35240d11db217462799c44a6c.tar.bz2 |
target-supports.exp (check_effective_target_arm_cortex_m): Return right away if !arm*-*-*.
* lib/target-supports.exp (check_effective_target_arm_cortex_m):
Return right away if !arm*-*-*.
From-SVN: r214797
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 46ca330..89ea6c5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> + + * lib/target-supports.exp (check_effective_target_arm_cortex_m): + Return right away if !arm*-*-*. + 2014-09-01 Bernd Schmidt <bernds@codesourcery.com> * gcc.c-torture/unsorted/386.c: Move to ... diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 92c3092..088ebf0 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2819,6 +2819,9 @@ proc check_effective_target_arm_cond_exec { } { # Return 1 if this is an ARM cortex-M profile cpu proc check_effective_target_arm_cortex_m { } { + if { ![istarget arm*-*-*] } { + return 0 + } return [check_no_compiler_messages arm_cortex_m assembly { #if !defined(__ARM_ARCH_7M__) \ && !defined (__ARM_ARCH_7EM__) \ |