OSDN Git Service

* config/sparc/sparc.c (eligible_for_return_delay): Do not return
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 May 2011 22:02:25 +0000 (22:02 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 May 2011 22:02:25 +0000 (22:02 +0000)
commit093cac74bf6bdad56cb1dce26ef93695ef1dcf0a
treec33f3eff65e9ec19d6c8140cc20ef668bf0f57fb
parente37a15646c520ac5a8800c9658fed8a495b82985
* config/sparc/sparc.c (eligible_for_return_delay): Do not return
false if there are call-saved registers here...
(sparc_can_use_return_insn_p): ...but here instead.
(save_or_restore_regs): Fix thinko.
(sparc_expand_prologue): Use current_function_is_leaf.
(sparc_frame_pointer_required): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/sparc/sparc.c