Fortran: fix testcase compiler flags
commit6b14100b9504800768da726dcb81f1857db3b493
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 12 Jan 2022 10:19:37 +0000 (12 11:19 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 12 Jan 2022 10:19:37 +0000 (12 11:19 +0100)
tree98b3a5492aeb824318628f72c8e273dccf5a27d5
parent6bba184ccbf47368eaea27ee2c1e7b850526640b
Fortran: fix testcase compiler flags

-fsignaling-nans is already passed by ieee.exp, so it's not needed.
We must use dg-additional-options instead of dg-options, otherwise we
override flags passed from ieee.exp. And we need to use -w because
some options only make sense for the Fortran source.

gcc/testsuite/ChangeLog:

* gfortran.dg/ieee/signaling_1.f90: Adjust flags.
gcc/testsuite/gfortran.dg/ieee/signaling_1.f90