From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7259 invoked by alias); 1 Oct 2008 23:21:20 -0000 Received: (qmail 5194 invoked by uid 48); 1 Oct 2008 23:19:58 -0000 Date: Wed, 01 Oct 2008 23:21:00 -0000 Message-ID: <20081001231958.5193.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rth 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: 2008-10/txt/msg00111.txt.bz2 ------- Comment #3 from rth at gcc dot gnu dot org 2008-10-01 23:19 ------- Created an attachment (id=16446) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16446&action=view) proposed patch Please try this and see if it works. I believe it does, since I see - stw 21,16(9) - addis 21,1,0x8 [lots of code] + stw 21,16(9) + addis 21,1,0x8 which suggests that the memory store hasn't been promoted above where it ought. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37447