aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-24 08:56:20 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-24 08:56:20 -0500
commit18bd1bd9bb69c3845491d690954a0e0f57a7da1e (patch)
treee23730a7b03dcb7ffede05c1205fac728689c7b6 /gcc
parent454f33b937fe82a641e0403514d6f70c757ec5ec (diff)
downloadgcc-18bd1bd9bb69c3845491d690954a0e0f57a7da1e.zip
gcc-18bd1bd9bb69c3845491d690954a0e0f57a7da1e.tar.gz
gcc-18bd1bd9bb69c3845491d690954a0e0f57a7da1e.tar.bz2
(output_prolog): Need GP if type ISUBR.
From-SVN: r6304
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 1de1972..7d32487 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -1233,7 +1233,8 @@ output_prolog (file, size)
|| (GET_RTX_CLASS (GET_CODE (insn)) == 'i'
&& GET_CODE (PATTERN (insn)) != USE
&& GET_CODE (PATTERN (insn)) != CLOBBER
- && get_attr_type (insn) == TYPE_LDSYM))
+ && (get_attr_type (insn) == TYPE_LDSYM
+ || get_attr_type (insn) == TYPE_ISUBR)))
{
alpha_function_needs_gp = 1;
break;