This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR target/10775


On Mon, Jun 09, 2003 at 12:20:01PM +0900, Kazuhiro Inaoka wrote:
> +   if (current_function_is_leaf && (new_reg == RETURN_ADDR_REGNUM))
> +     return 0;

You failed to remove this part ...

> + (define_insn "return_internal"
> +   [(return)
> +    (use (reg:SI 14))]

... because you failed to actually use this part.
You need to change the epilogue generation code to match.
Also, this should be used in place of the existing return
pattern, not alongside of.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]