[fortran, patch] Add Fortran 2003 IEEE intrinsic modules

Mike Stump mikestump@comcast.net
Thu Nov 21 12:05:00 GMT 2013


On Nov 21, 2013, at 3:58 AM, FX <fxcoudert@gmail.com> wrote:
>>> --- gcc/testsuite/lib/target-supports.exp	(revision 205019)
>>> +++ gcc/testsuite/lib/target-supports.exp	(working copy)
>>> proc add_options_for_ieee { flags } {
>> ...
>>> +    set extra "-fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -fintrinsic-modules-path $specpath/libgfortran/"
>> 
>> That part looks wrong: I think you do not want to add -fintrinsic-modules-path
>> for all IEEE functions, e.g. C and C++ compilers do not handle that option,
>> nor does the Ada compiler.
> 
> Hum. That’s unfortunate, because I haven’t found any other suitable place :)
> I do not see how to specify compiler flags only for Fortran.
> 
>> You could also ask Mike Stump to review the testsuite changes.
> 
> Mike, in your understanding, is there any place where Fortran-only flags could be specified in the test suite?

But you're doing such a fine job!


More information about the Fortran mailing list