diff mbox series

[committed] testsuite: Fix gfortran.dg/ieee/comparisons_3.F90 testsuite failures

Message ID CAFULd4Zuc1F9BmG25Uh4i_XMMzG4XdOo8L4zbN=5V6oeBPjffQ@mail.gmail.com
State New
Headers show
Series [committed] testsuite: Fix gfortran.dg/ieee/comparisons_3.F90 testsuite failures | expand

Commit Message

Uros Bizjak July 26, 2023, 2:11 p.m. UTC
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.
diff mbox series

Patch

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