From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26506 invoked by alias); 20 Jul 2010 16:12:50 -0000 Received: (qmail 26436 invoked by uid 48); 20 Jul 2010 16:12:29 -0000 Date: Tue, 20 Jul 2010 16:12:00 -0000 Message-ID: <20100720161229.26435.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: "burnus at gcc dot gnu dot org" 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/msg02099.txt.bz2 ------- 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). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43665