From d17f2c3b496cce8c1eea2dab929c28e5899f9cc4 Mon Sep 17 00:00:00 2001 From: Andre Vieira Date: Fri, 21 Oct 2016 08:53:27 +0000 Subject: [PATCH] pure-code.exp: Require arm_cortex_m effective target. 2016-10-21 Andre Vieira * gcc.target/arm/pure-code/pure-code.exp: Require arm_cortex_m effective target. From-SVN: r241396 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2f32252f91f..aaa683f9f37 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-10-21 Andre Vieira + + * gcc.target/arm/pure-code/pure-code.exp: Require arm_cortex_m + effective target. + 2016-10-21 Kyrylo Tkachov PR rtl-optimization/78038 diff --git a/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp b/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp index 1abe7782c0e..aaace952aaa 100644 --- a/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp +++ b/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp @@ -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 -- 2.30.2