From patchwork Mon May 21 19:21:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Kargl X-Patchwork-Id: 917800 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-478099-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=troutmask.apl.washington.edu Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="JllnM4gO"; dkim-atps=neutral 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 40qTDX4yB8z9s19 for ; Tue, 22 May 2018 05:22:02 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=qZKPwCa9QUOMaJEGne8p67s5LBhsMDECqdbJwQagfsI zf30fzWeELiSQ17fKyeFRgZfrC/GrybMSKxX2usBiwh29wq5r64atMGxaZ8/QGJB gxgK4Oc3q2RmOEH3mxzELG4UmY0PPWbo5QNXzrJkqGBajE9iyJwKDyULdElGB8HQ = 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:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=Btf8kk8yXKFjUv+IS3StN65N+eA=; b=JllnM4gOBPx5gnbWK XJcfBkZhzra96pef0sVwMne7bFbJDH5o5eMCUxwg33+M7YXWn9PUwt3oV/5rHhEO gzMo3k/2apYYdkKP4y4tnJeG/gXlpQ4DEQ3mAik32yOsnj1oaAt2HQ5togVnXnjm SyHKIwSS4hLIXTF/ebqFFmJVqA= Received: (qmail 130783 invoked by alias); 21 May 2018 19:21:51 -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 130761 invoked by uid 89); 21 May 2018 19:21:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=H*MI:edu, minute, steven X-Spam-User: qpsmtpd, 2 recipients X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 May 2018 19:21:49 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w4LJLl4x057539 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 21 May 2018 12:21:47 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w4LJLlVt057538; Mon, 21 May 2018 12:21:47 -0700 (PDT) (envelope-from sgk) Date: Mon, 21 May 2018 12:21:47 -0700 From: Steve Kargl To: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [Committed] Fix Fortran testsuite failures Message-ID: <20180521192147.GA57522@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) I've committed the attached patch, which fixes a few testsuite failures related to changes in how gfortran handles legacy code. 2018-05-21 Steven G. Kargl * gfortran.dg/graphite/block-2.f: Adjust testcase for new gfortran warnings for deleted and obsolescent features. * gfortran.dg/graphite/id-19.f: Ditto. * gfortran.dg/graphite/id-20.f: Ditto. * gfortran.dg/graphite/id-27.f90: Ditto. * gfortran.dg/graphite/pr82449.f: Ditto. PS: Yes, I forgot a ChangLog entry. I'll commit that in a minute. Index: gcc/testsuite/gfortran.dg/graphite/block-2.f =================================================================== --- gcc/testsuite/gfortran.dg/graphite/block-2.f (revision 260479) +++ gcc/testsuite/gfortran.dg/graphite/block-2.f (working copy) @@ -1,3 +1,5 @@ +! { dg-do compile } +! { dg-options "-std=legacy" } SUBROUTINE MATRIX_MUL_UNROLLED (A, B, C, L, M, N) DIMENSION A(L,M), B(M,N), C(L,N) Index: gcc/testsuite/gfortran.dg/graphite/id-19.f =================================================================== --- gcc/testsuite/gfortran.dg/graphite/id-19.f (revision 260479) +++ gcc/testsuite/gfortran.dg/graphite/id-19.f (working copy) @@ -1,3 +1,5 @@ +! { dg-do compile } +! { dg-options "-std=legacy" } SUBROUTINE ECCODR(FPQR) DIMENSION FPQR(25,25,25) INTEGER P,Q,R Index: gcc/testsuite/gfortran.dg/graphite/id-20.f =================================================================== --- gcc/testsuite/gfortran.dg/graphite/id-20.f (revision 260479) +++ gcc/testsuite/gfortran.dg/graphite/id-20.f (working copy) @@ -1,4 +1,4 @@ -! { dg-options "-O3 -ffast-math" } +! { dg-options "-O3 -ffast-math -std=legacy" } DIMENSION FPQR(25,25,25) INTEGER P,Q,R Index: gcc/testsuite/gfortran.dg/graphite/id-27.f90 =================================================================== --- gcc/testsuite/gfortran.dg/graphite/id-27.f90 (revision 260479) +++ gcc/testsuite/gfortran.dg/graphite/id-27.f90 (working copy) @@ -1,4 +1,5 @@ -! { dg-additional-options "-Ofast" } +! { dg-do compile } +! { dg-additional-options "-Ofast -std=legacy" } MODULE module_ra_gfdleta INTEGER, PARAMETER :: NBLY=15 REAL , SAVE :: EM1(28,180),EM1WDE(28,180),TABLE1(28,180), & Index: gcc/testsuite/gfortran.dg/graphite/pr82449.f =================================================================== --- gcc/testsuite/gfortran.dg/graphite/pr82449.f (revision 260479) +++ gcc/testsuite/gfortran.dg/graphite/pr82449.f (working copy) @@ -1,5 +1,5 @@ ! { dg-do compile } -! { dg-options "-O2 -floop-nest-optimize" } +! { dg-options "-O2 -floop-nest-optimize -std=legacy" } SUBROUTINE JDFIDX(MKL,KGSH) DIMENSION MKL(6,6)