* config/alpha/alpha.c (direct_call_operand): Don't fall off end.
authorRichard Henderson <rth@redhat.com>
Wed, 17 Oct 2001 09:05:18 +0000 (02:05 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 17 Oct 2001 09:05:18 +0000 (02:05 -0700)
From-SVN: r46311

gcc/ChangeLog
gcc/config/alpha/alpha.c

index e165e9e0cd24aa72853c7a091143fe2ffcd17dfc..33bf8b21808806d858ef4c73ab9edc09fa8d1d21 100644 (file)
@@ -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.
index 48e157e2b088b3928b84b1adbc77a9166d229a96..b29112ca916e31db21f8a3e88cbfaa239b375daf 100644 (file)
@@ -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