* [COMMITTED][PATCH][GCC][ARM] Change baseline test from armv5t to armv5te
@ 2018-02-12 12:46 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2018-02-12 12:46 UTC (permalink / raw)
To: gcc-patches
Cc: nd, Ramana.Radhakrishnan, Richard.Earnshaw, nickc, Kyrylo.Tkachov
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
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 <tamar.christina@arm.com>
PR target/82641
* gcc.target/arm/pragma_arch_switch_2.c: Use armv5te.
--
[-- Attachment #2: rb8918.patch --]
[-- Type: text/x-diff, Size: 736 bytes --]
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-12 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12 12:46 [COMMITTED][PATCH][GCC][ARM] Change baseline test from armv5t to armv5te Tamar Christina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).