This is the mail archive of the gcc-bugs@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]

[Bug testsuite/51057] FAIL: gfortran.dg/quad_2.f90 -O0 execution test on powerpc*-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51057

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-11-09 18:51:10 UTC ---
(In reply to comment #0)
> gfortran.dg/quad_2.f90 fails on powerpc*-*-* (see
> http://gcc.gnu.org/ml/gcc-testresults/2011-11/msg00620.html ). This is due to a
> less precise representation of REAL(16) on ppc (i.e., two REAL(8)) than on
> Intel platforms. The following patch fixes the failure
> 
> --- /opt/gcc/work/gcc/testsuite/gfortran.dg/quad_2.f90    2011-11-06
> 20:55:43.000000000 +0100
> +++ quad_2_db.f90    2011-11-09 14:06:48.000000000 +0100
> @@ -48,8 +48,8 @@ program test_qp
>       case (16)
>         if (str1 /= "   1.00000000000000000000000000000000000") call abort()
>         if (str2 /= "1.00000000000000000000000000000000000") call abort()
> -       if (str3 /= "   1.41421356237309504880168872420969798") call abort()
> -       if (str4 /= "1.41421356237309504880168872420969798") call abort()
> +       if (str3(1:37) /= "   1.41421356237309504880168872420969") call abort()
> +       if (str4(1:34) /= "1.41421356237309504880168872420969") call abort()
>         block
>           real(qp), volatile :: fp2a
>           fp2a = 2.0_qp

Please XFAIL this testcase on powerpc, or make this
testcase i686/x64_64 specific.  The problem runs rather
deep.  See PR 46481 and 47032.


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