summaryrefslogtreecommitdiff
path: root/gcc/config/v850/v850.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-06 07:25:24 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-06 07:25:24 +0000
commit1e7864e44136433004d5c8adb767dddf90830cb4 (patch)
tree09b0a22654ae562c449d45f3d1fb178722c10a17 /gcc/config/v850/v850.c
parent9306644f396b57a5977c121820ef4cf010217f71 (diff)
downloadgcc-1e7864e44136433004d5c8adb767dddf90830cb4.tar.gz
2008-05-06 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r134973 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@134974 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/v850/v850.c')
-rw-r--r--gcc/config/v850/v850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index c99841a31a4..2a0f3093641 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -1386,7 +1386,7 @@ compute_register_save_size (long * p_reg_saved)
long reg_saved = 0;
/* Count the return pointer if we need to save it. */
- if (current_function_profile && !call_p)
+ if (crtl->profile && !call_p)
{
df_set_regs_ever_live (LINK_POINTER_REGNUM, true);
call_p = 1;