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] fix __buitin_return_address(0) on m32r*-*-*-*


Hi Kazuhiro,

2004-06-15 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com >

    * config/m32r/m32r.h (RETURN_ADDR_RTX): Define.
    (INCOMING_RETURN_ADDR_RTX): Define.
    * config/m32r/m32r-protos.h (m32r_return_addr): Added.
    * config/m32r/m32r.c (m32r_exppand_prologue): Changed for
    __builtin_return_address(0).
    (m32r_return_addr): Added for __builtin_return_address(0).
    (m32r_reload_lr): Ditto.

Applied to 3.4 branch and the mainline.


Cheers
  Nick



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