aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-12-20 13:18:17 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-12-20 13:18:17 +0000
commit01d939e8fb624ea88487fd41ce93c238a5eb870a (patch)
treeef38c36222ccc381ac63f61190043f19cbf2124f /gcc/config/sparc
parent239a0f5ba54e5a19c4445835429ce113a68bebde (diff)
downloadgcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.zip
gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.gz
gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.bz2
current_function -> cfun
From-SVN: r31033
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index ee2c974..5af17e2 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -2763,8 +2763,7 @@ mem_min_alignment (mem, desired)
/* Check if the compiler has recorded some information
about the alignment of the base REG. If reload has
completed, we already matched with proper alignments. */
- if (((current_function != 0
- && REGNO_POINTER_ALIGN (regno) >= desired)
+ if (((cfun != 0 && REGNO_POINTER_ALIGN (regno) >= desired)
|| reload_completed)
&& ((INTVAL (offset) & (desired - 1)) == 0))
return 1;