From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24256 invoked by alias); 3 Jul 2009 12:41:05 -0000 Received: (qmail 24193 invoked by uid 48); 3 Jul 2009 12:40:52 -0000 Date: Fri, 03 Jul 2009 12:41:00 -0000 Message-ID: <20090703124052.24191.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow) 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: 2009-07/txt/msg00248.txt.bz2 ------- Comment #24 from burnus at gcc dot gnu dot org 2009-07-03 12:40 ------- > One issue is that > ISET = MINLOC (DTEMP) > will cause GCC to assume that DTEMP is clobbered. The problem is that while "MINLOC" is pure, we cannot use DECL_PURE_P as the result is passed by reference: (void) minloc(&isset, DTEMP) ^^^^^^--- result -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067