This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RETURN_ADDRESS_POINTER_REGNUM Macro
- From: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: Vinod Kathail <vinodk at xilinx dot com>, Shail Aditya Gupta <shailadi at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, "Nagaraju Mekala" <nmekala at xilinx dot com>
- Date: Fri, 24 Jul 2015 06:09:26 +0000
- Subject: RETURN_ADDRESS_POINTER_REGNUM Macro
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; gcc.gnu.org; dkim=none (message not signed) header.d=none;
- By2ffo11hub040: X-MS-Exchange-Organization-RulesExecuted
All:
>From the description of the definition of the macro RETURN_ADDRESS_POINTER_REGNUM , it is derived that this macro is used to
Define a register for the above macro that helps in getting the return address from the stack or frame pointer.
I could see many of the architectures supported by GCC does not define this macro.
Does this impact the performance or correctness of the compiler? On what cases it is applicable to define for the given architecture?
Thanks & Regards
Ajit