From 41c540fc0f9673fbd37cc6e8fd4e1db1da4ef3c5 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Thu, 15 Jun 2017 09:23:28 +0000 Subject: [PATCH] sdiv_costs_1.c: Use dg-add-options. 2017-06-15 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Use dg-add-options. From-SVN: r249214 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/sdiv_costs_1.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dc82af01557..5e05a353702 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-15 Tamar Christina + + * gcc.target/arm/sdiv_costs_1.c: + Use dg-add-options. + 2017-06-14 Maciej W. Rozycki * gcc.target/mips/data-sym-jump.c: Adjust for whitespace changes. diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c index 9d094ac0c1d..64b7e249f42 100644 --- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c +++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -march=armv8-a" } */ +/* { dg-options "-O3" } */ /* { dg-require-effective-target arm_arch_v8a_ok } */ +/* { dg-add-options arm_arch_v8a } */ /* Both sdiv and udiv can be used here, so prefer udiv. */ int f1 (unsigned char *p) -- 2.30.2