This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [gfortran,testsuite,committed] Do not xfail gfortran.dg/nint_2.f90 on ppc64-linux


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

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