From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85815 invoked by alias); 29 May 2017 16:51:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 85787 invoked by uid 89); 29 May 2017 16:51:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout2.netcologne.de Received: from cc-smtpout2.netcologne.de (HELO cc-smtpout2.netcologne.de) (89.1.8.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 May 2017 16:51:05 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout2.netcologne.de (Postfix) with ESMTP id 79D3512876; Mon, 29 May 2017 18:51:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 766D211DC0; Mon, 29 May 2017 18:51:05 +0200 (CEST) Received: from [78.35.157.73] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 592c5179-021e-7f0000012729-7f000001eb1b-1 for ; Mon, 29 May 2017 18:51:05 +0200 Received: from [192.168.178.20] (xdsl-78-35-157-73.netcologne.de [78.35.157.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Mon, 29 May 2017 18:51:02 +0200 (CEST) Subject: Re: [patch, libgfortran] PR53029 missed optimization in internal read (without implied-do-loop) To: Jerry DeLisle , "fortran@gcc.gnu.org" Cc: GCC Patches References: From: Thomas Koenig Message-ID: <2c00d8e7-700e-c13e-dbb2-d1928cc3c482@netcologne.de> Date: Mon, 29 May 2017 16:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-05/txt/msg02206.txt.bz2 Hi Jerry, > Regression tested on x86_64. I have added a test case which will check > the execution time of the loop. The previous results of the REAd were > correct, just took a long time on large arrays. > > OK for trunk? OK. It might be good if you followed Manfred's suggestion and turned down the timeout to something like 0.5 seconds. Thanks for the patch! I would also consider backporting, the speedup is just so large. What do others think? Regards Thomas