pure-code.exp: Require arm_cortex_m effective target.
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 21 Oct 2016 08:53:27 +0000 (08:53 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Fri, 21 Oct 2016 08:53:27 +0000 (08:53 +0000)
2016-10-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/pure-code/pure-code.exp: Require arm_cortex_m
effective target.

From-SVN: r241396

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp

index 2f32252f91f0edc5291406126ea5fd793c03ae0a..aaa683f9f374872ad5295f80c88d5b465cc33286 100644 (file)
@@ -1,3 +1,8 @@
+2016-10-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gcc.target/arm/pure-code/pure-code.exp: Require arm_cortex_m
+       effective target.
+
 2016-10-21  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR rtl-optimization/78038
index 1abe7782c0e5dbb6e2deef25f4bea9415664f942..aaace952aaa09d6bcfb684909adc325c50d9be0e 100644 (file)
@@ -28,7 +28,7 @@ if ![info exists DEFAULT_CFLAGS] then {
 # The -mpure-code option is only available for M-profile targets that support
 # thumb2.
 if {[check_effective_target_arm_thumb2_ok]
-    && ![check_effective_target_arm_arm_ok]} then {
+    && [check_effective_target_arm_cortex_m]} then {
 # Initialize `dg'.
 dg-init