From: Kyrylo Tkachov Date: Fri, 19 Jan 2018 09:58:37 +0000 (+0000) Subject: [arm] Fix gcc.target/arm/pr79058.c X-Git-Tag: upstream/12.2.0~33937 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80b21c416cf7ae760b8a96b0971414d026feb03b;p=platform%2Fupstream%2Fgcc.git [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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1148705..d86316e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-01-19 Kyrylo Tkachov + + * gcc.target/arm/pr79058.c: Add arm_arm_ok check and -marm to options. + 2018-01-18 John David Anglin * gcc.dg/torture/pr52451.c (main): Skip long double test on diff --git a/gcc/testsuite/gcc.target/arm/pr79058.c b/gcc/testsuite/gcc.target/arm/pr79058.c index f2841f5..54a1d8a 100644 --- a/gcc/testsuite/gcc.target/arm/pr79058.c +++ b/gcc/testsuite/gcc.target/arm/pr79058.c @@ -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;