On 12/14/25 9:34 PM, Jerry D wrote:
Hi all,

I was looking through the testsuite in gfortran.dg and found the following in bessel_6.f90.

! { dg-add-options ieee }

This is at the top with no other directives. The documentation I find in online docs does not mention this option ieee. It does say "dg-add-options" must be preceded by a dg-do run.  There is no dg-do anything anywhere.

So what exactly is this supposed to do?

Jerry




I did find this blurb for dg-do:

The default is compile. That can be overridden for a set of tests by redefining dg-do-what-default within the .exp file for those tests.

So I suppose it is a compile test without a directive and the dg-add-options ieee has an effect only on targets that support it.

-- Jerry


Reply via email to