From 708d1034dbcdebb1dcc3503f7fdd0e45478c6fca Mon Sep 17 00:00:00 2001 From: Alex Velenko Date: Fri, 11 Sep 2015 09:25:59 +0000 Subject: [PATCH] pr63210.c (dg-skip-if): Skip armv4t. gcc/testsuite * gcc.target/arm/pr63210.c (dg-skip-if): Skip armv4t. (dg-additional-options): Add -march=armv5t if arm_arch_v5t_ok. From-SVN: r227677 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/pr63210.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4772dc0d426..cfafbcd093c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-11 Alex Velenko + + * gcc.target/arm/pr63210.c (dg-skip-if): Skip armv4t. + (dg-additional-options): Add -march=armv5t if arm_arch_v5t_ok. + 2015-09-10 Bill Schmidt * gcc.target/powerpc/swaps-p8-20.c: New test. diff --git a/gcc/testsuite/gcc.target/arm/pr63210.c b/gcc/testsuite/gcc.target/arm/pr63210.c index c3ae92801f5..9b63a67d3f0 100644 --- a/gcc/testsuite/gcc.target/arm/pr63210.c +++ b/gcc/testsuite/gcc.target/arm/pr63210.c @@ -1,6 +1,8 @@ /* { dg-do assemble } */ /* { dg-options "-mthumb -Os " } */ /* { dg-require-effective-target arm_thumb1_ok } */ +/* { dg-skip-if "do not test on armv4t" { *-*-* } { "-march=armv4t" } } */ +/* { dg-additional-options "-march=armv5t" {target arm_arch_v5t_ok} } */ int foo1 (int c); int foo2 (int c); -- 2.30.2