aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-10-17 02:05:18 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-10-17 02:05:18 -0700
commit4d8f669f9481e4154eea13098cb6def6b64bcb1f (patch)
tree4f47819429f796758ababeb1692983ee4c4f0c72
parent14976c58e9ada85da3c6cdb485133784725adc4d (diff)
downloadgcc-4d8f669f9481e4154eea13098cb6def6b64bcb1f.zip
gcc-4d8f669f9481e4154eea13098cb6def6b64bcb1f.tar.gz
gcc-4d8f669f9481e4154eea13098cb6def6b64bcb1f.tar.bz2
* config/alpha/alpha.c (direct_call_operand): Don't fall off end.
From-SVN: r46311
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/alpha/alpha.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e165e9e..33bf8b2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-17 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
+
2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* c-tree.texi: Eliminate duplicated word.
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 48e157e..b29112c 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -868,6 +868,8 @@ direct_call_operand (op, mode)
if (! TARGET_PROFILING_NEEDS_GP
&& ! profile_flag && ! profile_block_flag)
return 0;
+
+ return 1;
}
/* Return true if OP is a LABEL_REF, or SYMBOL_REF or CONST referencing