From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29846 invoked by alias); 14 Jul 2009 13:26:42 -0000 Received: (qmail 29760 invoked by uid 48); 14 Jul 2009 13:26:30 -0000 Date: Tue, 14 Jul 2009 13:26:00 -0000 Message-ID: <20090714132630.29759.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40643] maxloc/minloc: Wrong result for NaN at position 1 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub 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/msg01110.txt.bz2 ------- Comment #4 from jakub at gcc dot gnu dot org 2009-07-14 13:26 ------- Created an attachment (id=18192) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18192&action=view) gcc45-pr40643.patch Slightly adjusted patch, so that even when array size isn't known compile time constant it can avoid expensive runtime tests in the loop. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40643