From patchwork Mon Jun 30 01:48:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 365479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4492C14008F for ; Mon, 30 Jun 2014 11:48:49 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; q=dns; s=default; b=nUZiQcrJ1cpTwni3 vOJHqdvkB23n90MS4rvMoAshOGd8aEeTuEUnXl1uQhvE2ogsrUwuBw8pdxjjZZDx FDlVfbw/bRe1zX1VDEbkWcOoTJUtVJ5mQuzIDjIdszOiBTOLjtZaym/+Xw+Jga5Y SO9fr8TtXVIVXMeOj7nmb1Ewmb0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; s=default; bh=C5GPFe8g7alXb2upiuNA8D DlbJM=; b=tlhgfBozHBWSmDAPxxofHmQ0OrSFq8Nd92m/t/Ip4TopItxHUXbKBx eDiqBbYm4ApA4Z/BDBFrT0ANWgsau5D+TtaSnGmo2xAA/UB3BCfhhK1q1M+CHf9e hNadzJFP+suiSTgGpYZCKvJtL+z3qoLgesfJhBLi2Ay+YLq/uDQkM= Received: (qmail 10856 invoked by alias); 30 Jun 2014 01:48:39 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 10688 invoked by uid 89); 30 Jun 2014 01:48:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e32.co.us.ibm.com Received: from e32.co.us.ibm.com (HELO e32.co.us.ibm.com) (32.97.110.150) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 30 Jun 2014 01:48:24 +0000 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 29 Jun 2014 19:48:21 -0600 Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 29 Jun 2014 19:48:18 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id B0ADE3E4003F for ; Sun, 29 Jun 2014 19:48:17 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by b03cxnp08026.gho.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s5U1lBfc9634146 for ; Mon, 30 Jun 2014 03:47:11 +0200 Received: from d03av03.boulder.ibm.com (localhost [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s5U1mHbU005956 for ; Sun, 29 Jun 2014 19:48:17 -0600 Received: from [9.49.156.134] (sig-9-49-156-134.mts.ibm.com [9.49.156.134]) by d03av03.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s5U1mFfP005896; Sun, 29 Jun 2014 19:48:16 -0600 Message-ID: <1404092897.3097.9.camel@gnopaine> Subject: [PATCH, rs6000, testsuite] Skip gfortran.dg/round_4.f90 for PowerPC Linux From: Bill Schmidt To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, tobias.burnus@physik.fu-berlin.de Date: Sun, 29 Jun 2014 20:48:17 -0500 Mime-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14063001-0928-0000-0000-0000030FC097 X-IsSubscribed: yes Hi, The test in gfortran.dg/round_4.f90, introduced in GCC 4.9, checks for correct behavior of different rounding modes. However, for quad-precision floating-point, it requires that the number 0.10000000000000000000000000000000000481 be exactly represented. Since the PowerPC long double implementation (double-double) only guarantees 31 bits of precision, the test fails for the real(qp) portions of the test. Thus this patch marks the test invalid for PowerPC Linux for now. (We may want to also do this for other subtargets; let me know if so.) At such time as IEEE 128-bit floating-point is supported by the PowerPC port, we should revisit this. Is this ok for trunk and 4.9? Thanks, Bill 2014-06-29 Bill Schmidt * gfortran.dg/round_4.f90: Skip for powerpc*-*-linux* since the test requires greater precision than the current PowerPC long double implementation supports. Index: gcc/testsuite/gfortran.dg/round_4.f90 =================================================================== --- gcc/testsuite/gfortran.dg/round_4.f90 (revision 212074) +++ gcc/testsuite/gfortran.dg/round_4.f90 (working copy) @@ -1,6 +1,7 @@ ! { dg-do run } ! { dg-add-options ieee } ! { dg-skip-if "PR libfortran/58015" { hppa*-*-hpux* } } +! { dg-skip-if "IBM long double 31 bits of precision, test requires 38" { powerpc*-*-linux* } } ! ! PR fortran/35862 !