From: Richard Kenner Date: Mon, 19 Feb 1996 12:17:19 +0000 (-0500) Subject: (call_operand): If in REG, only reg 27 valid. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e277025362cd771b4cd6df6215754727c43eacc;p=gcc.git (call_operand): If in REG, only reg 27 valid. From-SVN: r11301 --- diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index b5a42b77826..4a380a7dd07 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -1,5 +1,5 @@ /* Subroutines used for code generation on the DEC Alpha. - Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GNU CC. @@ -370,7 +370,8 @@ call_operand (op, mode) if (mode != Pmode) return 0; - return (GET_CODE (op) == SYMBOL_REF || GET_CODE (op) == REG); + return (GET_CODE (op) == SYMBOL_REF + || (GET_CODE (op) == REG && REGNO (op) == 27)); } /* Return 1 if OP is a valid Alpha comparison operator. Here we know which