* [committed] testsuite: Fix gfortran.dg/ieee/comparisons_3.F90 testsuite failures
@ 2023-07-26 14:11 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2023-07-26 14:11 UTC (permalink / raw)
To: gcc-patches; +Cc: Fortran List
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
The testcase should use dg-additional-options instead of dg-options to
not overwrite default compile flags that include path for finding
the IEEE modules.
gcc/testsuite/ChangeLog:
* gfortran.dg/ieee/comparisons_3.F90: Use dg-additional-options
instead of dg-options.
Tested on x86_64-linux-gnu {,-m32}.
Uros.
[-- Attachment #2: f.diff.txt --]
[-- Type: text/plain, Size: 452 bytes --]
diff --git a/gcc/testsuite/gfortran.dg/ieee/comparisons_3.F90 b/gcc/testsuite/gfortran.dg/ieee/comparisons_3.F90
index c15678fec35..40e8466c132 100644
--- a/gcc/testsuite/gfortran.dg/ieee/comparisons_3.F90
+++ b/gcc/testsuite/gfortran.dg/ieee/comparisons_3.F90
@@ -1,5 +1,5 @@
! { dg-do run }
-! { dg-options "-ffree-line-length-none" }
+! { dg-additional-options "-ffree-line-length-none" }
program foo
use ieee_arithmetic
use iso_fortran_env
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-26 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 14:11 [committed] testsuite: Fix gfortran.dg/ieee/comparisons_3.F90 testsuite failures Uros Bizjak
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).