> 2011-06-05 Eric Botcazou <ebotca...@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 <ebotca...@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)