This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran, patch] Add Fortran 2003 IEEE intrinsic modules


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]