pure-code.exp: Require arm_cortex_m effective target.

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
This commit is contained in:
Andre Vieira 2016-10-21 08:53:27 +00:00 committed by Andre Vieira
parent 0d47cee6c4
commit d17f2c3b49
2 changed files with 6 additions and 1 deletions

View 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

View 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