This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran,testsuite,committed] Do not xfail gfortran.dg/nint_2.f90 on ppc64-linux
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Sep 2007 13:15:27 +0000 (UTC)
- Subject: Re: [gfortran,testsuite,committed] Do not xfail gfortran.dg/nint_2.f90 on ppc64-linux
- References: <19c433eb0709140554v6702c746r19298bb356f3b529@mail.gmail.com>
On Fri, 14 Sep 2007, François-Xavier Coudert wrote:
> The ppc64 glibc lround() seems unaffected by the bug that is present
> on ppc32 (see recent testresults). I changed the xfail accordingly.
> -! { dg-do run { xfail powerpc-ibm-aix* powerpc*-linux-gnu } }
> +! { dg-do run { xfail powerpc-ibm-aix* powerpc-*-linux* } }
This is not correct. powerpc-*-linux* can be 64-bit with -m64 (configured
with --enable-targets=all to have such a multilib), powerpc64-*-linux* can
also be 32-bit or 64-bit (-m32/-m64) with the default depending on how
it's configured. You need to use { powerpc*-*-linux* && ilp32 } to
describe 32-bit Power GNU/Linux. This was previously fixed for many
tests:
2005-12-13 Alan Modra <amodra@bigpond.net.au>
* gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/20020103-1.c,
[...]
gcc.target/powerpc/rs6000-power2-2.c: Don't use powerpc-*-* or
powerpc64-*-* in target selection strings. Instead use powerpc*-*-*
and ilp32 or lp64 as appropriate. Merge dg-require-effective-target
option into target selector.
* gcc.dg/20020919-1.c: Compile for powerpc*-*-*. Handle powerpc64.
* gcc.misc-tests/linkage.exp: Set native_cflags for powerpc*-*-linux*.
--
Joseph S. Myers
joseph@codesourcery.com