From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15653 invoked by alias); 11 Aug 2008 16:27:11 -0000 Received: (qmail 13926 invoked by uid 48); 11 Aug 2008 16:25:49 -0000 Date: Mon, 11 Aug 2008 16:27:00 -0000 Message-ID: <20080811162549.13925.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-* 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: 2008-08/txt/msg00848.txt.bz2 ------- Comment #22 from jakub at gcc dot gnu dot org 2008-08-11 16:25 ------- Created an attachment (id=16053) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16053&action=view) pop.patch Additional patch on top of sp=reg.patch patch, which should fix the SH4 case - the simplistic stack_adjust_offset wouldn't see the adjustments in pop instructions, only push instructions. I'm not sure if it is enough to do it this way, or whether for_each_rtx shouldn't be called instead to find all embedded MEMs with {PRE,POST}_{INC,DEC,MODIFY} operands on sp register. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36998