mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
1651e9b17c
commit
73c6609b21
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2015-07-10 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
PR target/66813
|
PR target/66813
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
/* Check that attribute target thumb is recognized. */
|
/* Check that attribute target thumb is recognized. */
|
||||||
/* { dg-do compile } */
|
/* { 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-options "-O2 -mno-restrict-it" } */
|
||||||
/* { dg-final { scan-assembler-not "\\.arm" } } */
|
/* { dg-final { scan-assembler-not "\\.arm" } } */
|
||||||
/* { dg-final { scan-assembler "\\.thumb_func" } } */
|
/* { dg-final { scan-assembler "\\.thumb_func" } } */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
/* Check -mflip-thumb. */
|
/* Check -mflip-thumb. */
|
||||||
/* { dg-do compile } */
|
/* { 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-options "-O2 -mflip-thumb -mno-restrict-it" } */
|
||||||
/* { dg-final { scan-assembler "\\.arm" } } */
|
/* { dg-final { scan-assembler "\\.arm" } } */
|
||||||
/* { dg-final { scan-assembler-times "\\.thumb_func" 1} } */
|
/* { dg-final { scan-assembler-times "\\.thumb_func" 1} } */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue