Commit 73c6609b by Christophe Lyon Committed by Christophe Lyon

attr_thumb.c: Skip if Thumb is not supported.

2015-07-10  Christophe Lyon  <christophe.lyon@linaro.org>

	* gcc.target/arm/attr_thumb.c: Skip if Thumb is not supported.
	* gcc.target/arm/flip-thumb.c: Likewise.

From-SVN: r225665
parent 1651e9b1
2015-07-10 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/arm/attr_thumb.c: Skip if Thumb is not supported.
* gcc.target/arm/flip-thumb.c: Likewise.
2015-07-10 Uros Bizjak <ubizjak@gmail.com>
PR target/66813
......
/* Check that attribute target thumb is recognized. */
/* { dg-do compile } */
/* Make sure the current multilib supports thumb. */
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O2 -mno-restrict-it" } */
/* { dg-final { scan-assembler-not "\\.arm" } } */
/* { dg-final { scan-assembler "\\.thumb_func" } } */
......
/* Check -mflip-thumb. */
/* { dg-do compile } */
/* Make sure the current multilib supports thumb. */
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O2 -mflip-thumb -mno-restrict-it" } */
/* { dg-final { scan-assembler "\\.arm" } } */
/* { dg-final { scan-assembler-times "\\.thumb_func" 1} } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment