This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SPARC] Fix another thinko
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Jun 2011 21:51:54 +0200
- Subject: Re: [SPARC] Fix another thinko
- References: <201106060115.19068.ebotcazou@adacore.com>
> 2011-06-05 Eric Botcazou <ebotcazou@adacore.com>
>
> * config/sparc/sparc.c (output_return): Fix thinko in the output of an
> EH return when delayed branches are disabled.
Of course the length attribute needs to be adjusted as well.
Tested on SPARC/Solaris 8, applied on the mainline and 4.6/4.5/4.4 branches.
2011-06-09 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.
--
Eric Botcazou
Index: config/sparc/sparc.md
===================================================================
--- config/sparc/sparc.md (revision 174014)
+++ config/sparc/sparc.md (working copy)
@@ -6322,9 +6322,7 @@ (define_insn "*return_internal"
(if_then_else (eq_attr "isa" "v9")
(const_int 2)
(const_int 3))
- (if_then_else (eq_attr "isa" "v9")
- (const_int 3)
- (const_int 4)))
+ (const_int 4))
(eq_attr "empty_delay_slot" "true")
(if_then_else (eq_attr "delayed_branch" "true")
(const_int 2)