This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, libgomp, testsuite] add libgfortran.spec.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: IainS <developer at sandoe-acoustics dot co dot uk>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 25 Nov 2010 19:11:22 +0100
- Subject: Re: [Patch, libgomp, testsuite] add libgfortran.spec.
- References: <BD480C51-EFC4-42AD-906D-AAE376D8751E@sandoe-acoustics.co.uk>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Nov 25, 2010 at 11:18:41AM +0000, IainS wrote:
> This will allow fortran libgomp tests to use libquadmath when
> required (I'm told none do yet).
> .. but it will also ensure that, if the libgfortran.spec includes
> substitutions, they are available in the testsuite.
>
> checked (in conjunction with
> http://gcc.gnu.org/ml/fortran/2010-11/msg00348.html) that the static
> lib substitution occurs properly for i686-darwin9.
>
> OK for trunk (with a proper Changelog, of course)?
This is wrong. If anything (we don't have any test that needs it),
it should be adding -B${blddir}/${lang_spec_path}/ being added,
to let the driver find it automatically if it wants to.
But forcing -specs when the driver doesn't want it just means
we would be testing something that isn't done in the installed compiler.
Jakub