aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-10-11 00:48:17 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-10-11 00:48:17 +0000
commita9e0a99876e03cb3fedcded38d442fe53b185a84 (patch)
tree9563304b9ea2f07ce71ae9a4c548a2c28eb3b4e4 /gcc/builtins.c
parentf407dfe9855ef15b27be8508032c5562aaa127a2 (diff)
downloadgcc-a9e0a99876e03cb3fedcded38d442fe53b185a84.zip
gcc-a9e0a99876e03cb3fedcded38d442fe53b185a84.tar.gz
gcc-a9e0a99876e03cb3fedcded38d442fe53b185a84.tar.bz2
always define FRAME_ADDR_RTX
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (FRAME_ADDR_RTX): New default definition. * builtins.c (expand_builtin_return_addr): Adjust. From-SVN: r228688
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 750488e..65aa71f 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -808,11 +808,7 @@ expand_builtin_return_addr (enum built_in_function fndecl_code, int count)
/* For __builtin_frame_address, return what we've got. But, on
the SPARC for example, we may have to add a bias. */
if (fndecl_code == BUILT_IN_FRAME_ADDRESS)
-#ifdef FRAME_ADDR_RTX
return FRAME_ADDR_RTX (tem);
-#else
- return tem;
-#endif
/* For __builtin_return_address, get the return address from that frame. */
#ifdef RETURN_ADDR_RTX