From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28054 invoked by alias); 7 Mar 2007 21:00:25 -0000 Received: (qmail 27174 invoked by uid 48); 7 Mar 2007 21:00:13 -0000 Date: Wed, 07 Mar 2007 21:00:00 -0000 Message-ID: <20070307210013.27173.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: "tkoenig 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: 2007-03/txt/msg00507.txt.bz2 ------- Comment #3 from tkoenig at gcc dot gnu dot org 2007-03-07 21:00 ------- (In reply to comment #2) > No, because we never get into gfc_conv_intrinsic_minmaxloc. We translate the > expression directly into a function call by calling > gfc_conv_intrinsic_funcall() at the head of gfc_conv_intrinsic_function(), > instead of going down the list. I wonder how SUM and PRODUCT are inlined... In gfc_conv_intrinsic_function, expr->rank is 0 for minval and 1 for minloc (which is bogus). I wonder where this is set... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067