From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129146 invoked by alias); 21 Nov 2019 09:35:26 -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 129130 invoked by uid 89); 21 Nov 2019 09:35:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Nov 2019 09:35:24 +0000 IronPort-SDR: ppgYRPbjxYHbvC/ZSpv7RoqBjSu5XbHDJ2ccsx3vUHU6LOLIxzs1nhGirxFbKMbRHd8zwNmZxJ 55QfefQ6fruoGsfKch+UEf14YgZ6HLeXu0GXrcVh+3LK/2dDO1mu+T5bgsryXthnMF2pfnrB3J xk29WGRgG3nHTXq0TPS+i6IrEkSFvyHj4HgvaDqf5DUOBQWeo/wlAKvfwfqns9BlS2rKTX+v+0 am/onu0tMv46uaqQ40VtTF0DuUvYr/YGs9p78Buvy9gTrwqzu2YDEBuvJgpwvJZyZqMkhqhYt4 Vkk= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 21 Nov 2019 01:35:22 -0800 IronPort-SDR: W1u4KXQKHdcSn9nwEIefV205FGsFPzTQnmgcYU2RaCmoIIBxhO8aV7MyDM15KNOHWfvJrv/vp5 UxqL6eH3lSqJQZhLxnXl1er5B/lA8E3xgqGKQXn9+YgwuXrtH6CMq1GafDmmNmH5anz7ljiEon nBTtXIK7s16cWAf9gfeKLGSRLh0oPLUBaS/Fl4vePSD8tALMV5wbRNgZvdQGF6H55ofA26+cnD 9vwQZjmtNa8P2ohMq+YGOx2M0em89OOPJgJK0V7GEVuRdSpYTPaJwPEYGayvRpXgbs0OOHHziS iks= Subject: Re: [patch, fortran] Load scalar intent-in variables at the beginning of procedures To: =?UTF-8?Q?Thomas_K=c3=b6nig?= , Janne Blomqvist , Thomas Koenig CC: Tobias Burnus , "fortran@gcc.gnu.org" , gcc-patches References: <48286910-ebbb-10e4-488b-8c96e505375c@tkoenig.net> <43b9fcf0-f457-90a7-c807-4aebc65cb045@tkoenig.net> <2981fd67-007e-7327-8208-27e8fd18d9db@netcologne.de> <4e68f250-1e41-ac7c-dc64-88f91cdf183e@tkoenig.net> From: Tobias Burnus Message-ID: <4ecba99c-f63a-628c-0778-d651503f7aa6@codesourcery.com> Date: Thu, 21 Nov 2019 09:41:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <4e68f250-1e41-ac7c-dc64-88f91cdf183e@tkoenig.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Return-Path: tobias@codesourcery.com X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg02077.txt.bz2 On 11/20/19 10:35 PM, Thomas König wrote: >> Is there a risk of performance regressions due to higher register >> pressure? richi points out (on IRC) that ideally LTO IPA opts would promote the call-by reference to call-by value – but is not sure that it indeed happens. [In any case, Linux distros have started to compile packages with LTO.] One could try and see whether that indeed happens. – Still, I think the real solution is to teach the middle end about the Fortran semantics. Cheers, Tobia