* testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl
@ 2021-05-04 20:57 Christophe Lyon
2021-05-05 23:38 ` Joseph Myers
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Lyon @ 2021-05-04 20:57 UTC (permalink / raw)
To: gcc Patches
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
The new test gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl(),
which may not be available, for instance on aarch64-elf with newlib.
As discussed in the PR, requiring c99_runtime enables to skip the test
in this case.
2021-05-04 Christophe Lyon <christophe.lyon@linaro.org>
PR testsuite/100355
gcc/testsuite/
* gcc.c-torture/execute/ieee/cdivchkld.x: New.
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
new file mode 100644
index 0000000..f798152
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
@@ -0,0 +1,4 @@
+if { [check_effective_target_c99_runtime] } {
+ return 0
+}
+return 1
[-- Attachment #2: cdivchkld.patch --]
[-- Type: text/x-patch, Size: 758 bytes --]
testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl
The new test gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl(),
which may not be available, for instance on aarch64-elf with newlib.
As discussed in the PR, requiring c99_runtime enables to skip the test
in this case.
2021-05-04 Christophe Lyon <christophe.lyon@linaro.org>
PR testsuite/100355
gcc/testsuite/
* gcc.c-torture/execute/ieee/cdivchkld.x: New.
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
new file mode 100644
index 0000000..f798152
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/ieee/cdivchkld.x
@@ -0,0 +1,4 @@
+if { [check_effective_target_c99_runtime] } {
+ return 0
+}
+return 1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl
2021-05-04 20:57 testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl Christophe Lyon
@ 2021-05-05 23:38 ` Joseph Myers
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Myers @ 2021-05-05 23:38 UTC (permalink / raw)
To: Christophe Lyon; +Cc: gcc Patches
On Tue, 4 May 2021, Christophe Lyon via Gcc-patches wrote:
> The new test gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl(),
> which may not be available, for instance on aarch64-elf with newlib.
> As discussed in the PR, requiring c99_runtime enables to skip the test
> in this case.
>
> 2021-05-04 Christophe Lyon <christophe.lyon@linaro.org>
>
> PR testsuite/100355
> gcc/testsuite/
> * gcc.c-torture/execute/ieee/cdivchkld.x: New.
OK.
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-05 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 20:57 testsuite: gcc.c-torture/execute/ieee/cdivchkld.c needs fmaxl Christophe Lyon
2021-05-05 23:38 ` Joseph Myers
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).