Hi All,
This patch updates the pragma_arch_switch_2.c test to use Armv5te from Armv5t to
allow the test to be able to run on hard float configurations.
Regtested on arm-none-eabi (no hf as hf trunk was broken) and with explicit hard
float abi.
Committed under the GCC obvious rules.
Thanks,
Tamar
gcc/testsuite
2018-02-12 Tamar Christina <[email protected]>
PR target/82641
* gcc.target/arm/pragma_arch_switch_2.c: Use armv5te.
--
diff --git a/gcc/testsuite/gcc.target/arm/pragma_arch_switch_2.c b/gcc/testsuite/gcc.target/arm/pragma_arch_switch_2.c
index 7f297557d555fd139a3b804d354117239a78ae62..b6211f94c377e3b1c0ba6c24203434ca8b550c3b 100644
--- a/gcc/testsuite/gcc.target/arm/pragma_arch_switch_2.c
+++ b/gcc/testsuite/gcc.target/arm/pragma_arch_switch_2.c
@@ -2,7 +2,7 @@
/* { dg-skip-if "instruction not valid on thumb" { *-*-* } { "-mthumb" } { "" } } */
/* { dg-do assemble } */
/* { dg-require-effective-target arm_arm_ok } */
-/* { dg-additional-options "-Wall -O2 -march=armv5t -std=gnu99 -marm" } */
+/* { dg-additional-options "-Wall -O2 -march=armv5te -std=gnu99 -marm" } */
#pragma GCC target ("arch=armv6")
int test_assembly (int hi, int lo)