From 8e84cfdd7c0d0ba1c1da92f64d83e7b72058e510 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 6 Jan 1997 00:01:49 -0700 Subject: [PATCH] pa.md (pic_load_label): Fix test for using just an ldo rather than an addil;ldo sequence to load the... * pa/pa.md (pic_load_label): Fix test for using just an ldo rather than an addil;ldo sequence to load the label's address. From-SVN: r13384 --- gcc/config/pa/pa.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index ed7b654030c..9c4b814bec4 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1,5 +1,6 @@ ;;- Machine description for HP PA-RISC architecture for GNU C compiler -;; Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. +;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 +;; Free Software Foundation, Inc. ;; Contributed by the Center for Software Science at the University ;; of Utah. @@ -1499,7 +1500,7 @@ if (GET_CODE (operands[1]) == LABEL_REF && insn_addresses && abs (insn_addresses[INSN_UID (XEXP (operands[1], 0))] - - insn_current_address) < 8100) + - insn_addresses[INSN_UID (insn)]) < 8100) { /* Prefixing with R% here is wrong, it extracts just 11 bits and is always non-negative. */ -- 2.30.2