From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14633 invoked by alias); 5 Mar 2002 10:56:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14578 invoked by uid 71); 5 Mar 2002 10:56:05 -0000 Date: Tue, 05 Mar 2002 02:56:00 -0000 Message-ID: <20020305105605.14573.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: jeroen dobbelaere Subject: Re: target/5828: gcc-3.0.4 on arm : floating point registers incorrectly reloaded Reply-To: jeroen dobbelaere X-SW-Source: 2002-03/txt/msg00152.txt.bz2 List-Id: The following reply was made to PR target/5828; it has been noted by GNATS. From: jeroen dobbelaere To: jeroen dobbelaere Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: target/5828: gcc-3.0.4 on arm : floating point registers incorrectly reloaded Date: Tue, 05 Mar 2002 11:51:06 +0100 This is a multi-part message in MIME format. --------------040707040700090206020008 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5828 This patch resolves the problem. It has been bootstrapped and introduced no new regressions. Greetings -- Jeroen Dobbelaere Embedded Software Engineer ACUNIA Embedded Solutions http://www.acunia.com --------------040707040700090206020008 Content-Type: text/plain; name="gcc-3.0.4-float-reload-jdo-1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gcc-3.0.4-float-reload-jdo-1.patch" diff -rC5 gcc-3.0.4/gcc/ChangeLog gcc-3.0.4-jdo1/gcc/ChangeLog *** gcc-3.0.4/gcc/ChangeLog Mon Mar 4 17:40:43 2002 --- gcc-3.0.4-jdo1/gcc/ChangeLog Mon Mar 4 17:39:35 2002 *************** *** 1,5 **** --- 1,10 ---- + 2002-03-04 Jeroen Dobbelaere + + * config/arm/arm.c (arm_output_epilogue): bug 5828 : offset + must start at 0 in stead of 12. + 2002-02-20 Release Manager * GCC 3.0.4 Released. 2002-02-20 Release Manager Only in gcc-3.0.4-jdo1/gcc: ChangeLog~ diff -rC5 gcc-3.0.4/gcc/config/arm/arm.c gcc-3.0.4-jdo1/gcc/config/arm/arm.c *** gcc-3.0.4/gcc/config/arm/arm.c Mon Mar 4 17:40:56 2002 --- gcc-3.0.4-jdo1/gcc/config/arm/arm.c Mon Mar 4 17:38:15 2002 *************** *** 7315,7326 **** int really_return; { int reg; unsigned long saved_regs_mask; unsigned long func_type; ! /* If we need this, then it will always be at least this much. */ ! int floats_offset = 12; rtx operands[3]; int frame_size = get_frame_size (); FILE * f = asm_out_file; rtx eh_ofs = cfun->machine->eh_epilogue_sp_ofs; --- 7315,7326 ---- int really_return; { int reg; unsigned long saved_regs_mask; unsigned long func_type; ! /* Offset is computed as needed, start from -4. (fp points to stack entry-4) */ ! int floats_offset = -4; rtx operands[3]; int frame_size = get_frame_size (); FILE * f = asm_out_file; rtx eh_ofs = cfun->machine->eh_epilogue_sp_ofs; Only in gcc-3.0.4-jdo1/gcc/config/arm: arm.c~ --------------040707040700090206020008--