From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7425 invoked by alias); 21 Jun 2007 09:15:51 -0000 Received: (qmail 7011 invoked by uid 48); 21 Jun 2007 09:15:34 -0000 Date: Thu, 21 Jun 2007 09:15:00 -0000 Message-ID: <20070621091534.7010.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "daney 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-06/txt/msg01878.txt.bz2 ------- Comment #1 from daney at gcc dot gnu dot org 2007-06-21 09:15 ------- Created an attachment (id=13754) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13754&action=view) Proposed patch. This is a problem with __builtin_eh_return(). At -O0 the new return address is being stored in the $ra save slot on the stack. At -O1 it is not. The patch allows cleanup-9.c to succeed. I will refomat the code to fit in 80 columns and bootstrap it. -- daney at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |daney at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32437