From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14648 invoked by alias); 20 Dec 2009 12:19:04 -0000 Received: (qmail 14597 invoked by uid 48); 20 Dec 2009 12:18:51 -0000 Date: Sun, 20 Dec 2009 12:19:00 -0000 Message-ID: <20091220121851.14596.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "irar at il dot ibm dot com" 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-12/txt/msg01956.txt.bz2 ------- Comment #23 from irar at il dot ibm dot com 2009-12-20 12:18 ------- The code that now gets vectorized is the summation of array 'reduce': sum(reduce). It looks like the problem is with adding the reduction result to the correct index of 'temp' (scalar code), and not with the reduction itself. Could you please verify that by printing the reduction result? Thanks, Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082