public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/51057] FAIL: gfortran.dg/quad_2.f90  -O0  execution test on powerpc*-*-*
Date: Wed, 09 Nov 2011 19:08:00 -0000	[thread overview]
Message-ID: <bug-51057-4-xBiE5I37U1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51057-4@http.gcc.gnu.org/bugzilla/>

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.


  reply	other threads:[~2011-11-09 18:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 13:25 [Bug testsuite/51057] New: " dominiq at lps dot ens.fr
2011-11-09 19:08 ` kargl at gcc dot gnu.org [this message]
2011-12-01 14:20 ` [Bug testsuite/51057] " iains at gcc dot gnu.org
2011-12-03 20:37 ` iains at gcc dot gnu.org
2011-12-03 20:47 ` sgk at troutmask dot apl.washington.edu
2011-12-03 21:09 ` iains at gcc dot gnu.org
2011-12-03 21:23 ` sgk at troutmask dot apl.washington.edu
2011-12-03 22:01 ` dominiq at lps dot ens.fr
2011-12-03 22:24 ` sgk at troutmask dot apl.washington.edu
2011-12-03 23:16 ` dominiq at lps dot ens.fr
2011-12-03 23:37 ` sgk at troutmask dot apl.washington.edu
2012-01-12  6:55 ` burnus at gcc dot gnu.org
2012-01-12  8:00 ` burnus at gcc dot gnu.org
2012-01-12 21:29 ` iains at gcc dot gnu.org
2012-01-12 21:46 ` dominiq at lps dot ens.fr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51057-4-xBiE5I37U1@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).