[arm] Fix gcc.target/arm/pr79058.c

This testcase tests 32-bit ARM state functionality, so add the -marm to make it explicit
as well as to avoid Thumb1 hard-float errors for certain toolchain configurations.


     * gcc.target/arm/pr79058.c: Add arm_arm_ok check and -marm to options.

From-SVN: r256878
This commit is contained in:
Kyrylo Tkachov 2018-01-19 09:58:37 +00:00 committed by Kyrylo Tkachov
parent 2a3abc862a
commit 80b21c416c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2018-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/pr79058.c: Add arm_arm_ok check and -marm to options.
2018-01-18 John David Anglin <danglin@gcc.gnu.org>
* gcc.dg/torture/pr52451.c (main): Skip long double test on

View file

@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-require-effective-target arm_arm_ok } */
/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "-mcpu=arm7tdmi" } } */
/* { dg-options "-Os -mbig-endian -mcpu=arm7tdmi" } */
/* { dg-options "-Os -mbig-endian -marm -mcpu=arm7tdmi" } */
enum { NILFS_SEGMENT_USAGE_ACTIVE, NILFS_SEGMENT_USAGE_DIRTY } a;