From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6017 invoked by alias); 19 Jul 2007 17:15:50 -0000 Received: (qmail 5978 invoked by uid 48); 19 Jul 2007 17:15:41 -0000 Date: Thu, 19 Jul 2007 17:15:00 -0000 Message-ID: <20070719171541.5977.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/32826] Reduction into a global variable causes a Load Hit Store Hazard (for the Cell) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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-07/txt/msg02010.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-19 17:15 ------- Note I copied the wrong testcase, the correct testcase is: int a[16*100]; int e; float f(void) { int i; int e1; e1 = 0; for(i = 0;i<16*100;i++) e1 += a[i]; e = e1; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32826