From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29592 invoked by alias); 7 Jul 2004 21:33:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29569 invoked by alias); 7 Jul 2004 21:33:13 -0000 Date: Wed, 07 Jul 2004 21:33:00 -0000 Message-ID: <20040707213313.29568.qmail@sourceware.org> From: "cvs-commit at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030430161600.10567.davem@redhat.com> References: <20030430161600.10567.davem@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/10567] -fno-delayed-branch not honored in back-end X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg00685.txt.bz2 List-Id: ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-07 21:33 ------- Subject: Bug 10567 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2004-07-07 21:33:09 Modified files: gcc : ChangeLog gcc/config/sparc: sparc.c sparc.md Log message: PR target/10567 * config/sparc/sparc.c (load_pic_register): Honor flag_delayed_branch. (output_return): Likewise. (output_sibcall): Abort if !flag_delayed_branch. (sparc_function_ok_for_sibcall): Return 0 if !flag_delayed_branch. (emit_and_preserve): New function. (sparc_output_mi_thunk): Use it. Honor flag_delayed_branch. Emit an indirect jump to the thunked-to function if !flag_delayed_branch. * config/sparc/sparc.md (delayed_branch): New attribute. (load_pcrel_sym): Honor flag_delayed_branch. Use above attribute to compute the length of the insn. (goto_handler_and_restore): Likewise. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4349&r2=2.4350 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.311&r2=1.312 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.md.diff?cvsroot=gcc&r1=1.206&r2=1.207 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10567