From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12967 invoked by alias); 14 Aug 2009 21:19:07 -0000 Received: (qmail 11502 invoked by uid 48); 14 Aug 2009 21:18:49 -0000 Date: Fri, 14 Aug 2009 21:19:00 -0000 Message-ID: <20090814211849.11501.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31593] Invariant DO loop variables and subroutines In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikael 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-08/txt/msg01249.txt.bz2 ------- Comment #19 from mikael at gcc dot gnu dot org 2009-08-14 21:18 ------- (In reply to comment #17) >>From quickly looking at the code, the copy to real_to is probably unnecessary because loop bounds are passed through gfc_evaluate_now before calling gfc_trans_simple_do ( never mind if it gives the good assembly :) ). Couldn't the same be made in gfc_trans_do ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593