From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22391 invoked by alias); 19 Feb 2018 12:33:46 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 22366 invoked by uid 89); 19 Feb 2018 12:33:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yb0-f174.google.com Received: from mail-yb0-f174.google.com (HELO mail-yb0-f174.google.com) (209.85.213.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Feb 2018 12:33:44 +0000 Received: by mail-yb0-f174.google.com with SMTP id g26-v6so2763246ybj.4; Mon, 19 Feb 2018 04:33:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F27gvC7Ewtd22kZ+GPZ7jYeiI+vMVn8cxuSbSc9dOIw=; b=f7lQ1Zxu97KUH2cfBncptFqGe3l71OleJnrY3ir8v/ewpyflprfsL98c9it+BwuQFa MP3sll7Vz1WmcW4OxOeUhkUCEa2CzcPhXrFLeIKj07vAwsawH19S/E0szN5ySPqXBZkc IyeJa0NqalsV7aE4fBl91jww47u4XYUMOLii+vPgtUJjgXrWCM6k+YNnrhaiSu1RWBCO 5kvtbae6NwIS4DAojx227Vob1GHV77T5HBQluccosDvAL7L/PWg67VgwhU67CEPGVrpT ejFgsJ84yZfo1Fx+973Y/sWidstQ+EroH7o/28OdSuXozPXfBn5LftfV63LFffHODl6H k3XA== X-Gm-Message-State: APf1xPAyGsmWC9YZJ77oehmfgAtBAHbNbTWz2eK3OBsit87fRdME/N85 JuoUoGa+9J07Couzov9GBJ2ZKidRoMCBMJibOLs= X-Google-Smtp-Source: AH8x224wYH9P3tD7R21aCI/C3gl9D19qkq8pv8haPqaajJTFVkdfnt7y2T2NJY5L0wjaK+KYl4Ry3WQjiqekqGquyCI= X-Received: by 10.37.197.132 with SMTP id v126mr10152604ybe.6.1519043622677; Mon, 19 Feb 2018 04:33:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.228.67 with HTTP; Mon, 19 Feb 2018 04:33:42 -0800 (PST) In-Reply-To: <60f8791a-aca6-4c3e-bd90-a0a4bda8670d@netcologne.de> References: <60f8791a-aca6-4c3e-bd90-a0a4bda8670d@netcologne.de> From: Paul Richard Thomas Date: Mon, 19 Feb 2018 12:33:00 -0000 Message-ID: Subject: Re: [patch, fortran] Remove workaround introduced because of PR80945 To: Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00133.txt.bz2 Hi Thomas, I have tested this with the new version of the patch for PR83344 - it is OK for trunk. Thanks Paul On 18 February 2018 at 16:17, Thomas Koenig wrote: > Hello world, > > after Paul's fix for PR80945, the code in frontend-passes.c meant > to circumvent this bug is no longer needed. The attached patch > removes it, adding a test case which shows that the optimization > is working. > > After this, I think we can finally lay PR 35339 to rest. > > Regression-tested. OK for trunk? > > Regards > > Thomas > > 2018-02-18 Thomas Koenig > > PR fortran/35339 > * frontend-passes.c (traverse_io_block): Remove workaround for > PR 80945. > > 2018-02-18 Thomas Koenig > > PR fortran/35339 > * gfortran.dg/implied_do_io_4.f90: New test. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein