[fortran, patch] Add Fortran 2003 IEEE intrinsic modules

FX fxcoudert@gmail.com
Thu Nov 21 11:58:00 GMT 2013


>> --- 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 testsuite?

FX


More information about the Fortran mailing list