From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30343 invoked by alias); 21 Jul 2010 08:09:59 -0000 Received: (qmail 30252 invoked by alias); 21 Jul 2010 08:09:41 -0000 Date: Wed, 21 Jul 2010 08:09:00 -0000 Message-ID: <20100721080941.30251.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenther at suse dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02178.txt.bz2 ------- Comment #12 from rguenther at suse dot de 2010-07-21 08:09 ------- Subject: Re: INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments On Tue, 20 Jul 2010, burnus at gcc dot gnu dot org wrote: > ------- Comment #11 from burnus at gcc dot gnu dot org 2010-07-20 16:12 ------- > (In reply to comment #10) > > No, this problem was present for ipa-sra, but I thought it was fixed. > > Does -fno-ipa-sra help? > > No, it doesn't. But with that option, the number of arguments still reduces > from 4 to 2 (before: 1). But again, the code works if one reorders the > arguments such that the "w" attribute matches the "x" argument (now at position > 2 instead of 1). So I wonder what code removes the arguments then. Richard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43665