This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran, patch] Add Fortran 2003 IEEE intrinsic modules
- From: FX <fxcoudert at gmail dot com>
- To: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>, mikestump at comcast dot net
- Cc: gcc-patches at gcc dot gnu dot org, gfortran <fortran at gcc dot gnu dot org>
- Date: Thu, 21 Nov 2013 12:58:23 +0100
- Subject: Re: [fortran, patch] Add Fortran 2003 IEEE intrinsic modules
- Authentication-results: sourceware.org; auth=none
- References: <20131121115323 dot GA13663 at physik dot fu-berlin dot de>
>> --- 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