public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] testsuite: Remove test for arm32 in arm_soft_ok
@ 2020-08-28 15:57 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-08-28 15:57 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1763ec9b20c0146a5a47f2259a44db1fbb9c923a
commit 1763ec9b20c0146a5a47f2259a44db1fbb9c923a
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date: Thu Aug 20 09:03:10 2020 +0000
testsuite: Remove test for arm32 in arm_soft_ok
There is no reason to check for arm32 when checking for
-mfloat=abi-soft support. Instead this implies skipping some tests
when targetting a thumb-1 cpu, while they pass.
This patch removes the arm32 check, and uses the same skeleton as
arm_softfp_ok and arm_hard_ok.
2020-08-20 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* lib/target-supports.exp (arm_soft_ok): Remove arm32 check.
Diff:
---
gcc/testsuite/lib/target-supports.exp | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index f223fc6917e..c24330a27ab 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3639,13 +3639,11 @@ proc check_effective_target_arm_vect_no_misalign { } {
# multilibs may be incompatible with this option.
proc check_effective_target_arm_soft_ok { } {
- if { [check_effective_target_arm32] } {
- return [check_no_compiler_messages arm_soft_ok executable {
- int main() { return 0;}
+ return [check_no_compiler_messages arm_soft_ok object {
+ #include <stdint.h>
+ int dummy;
+ int main (void) { return 0; }
} "-mfloat-abi=soft"]
- } else {
- return 0
- }
}
# Return 1 if this is an ARM target supporting -mfpu=vfp with an
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-28 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 15:57 [gcc/devel/c++-modules] testsuite: Remove test for arm32 in arm_soft_ok Nathan Sidwell
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).