projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19ee65
)
(pc_or_label_operand): New predicate.
author
Torbjorn Granlund
<tege@gnu.org>
Wed, 17 Mar 1993 20:57:22 +0000
(20:57 +0000)
committer
Torbjorn Granlund
<tege@gnu.org>
Wed, 17 Mar 1993 20:57:22 +0000
(20:57 +0000)
From-SVN: r3765
gcc/config/pa/pa.c
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.c
b/gcc/config/pa/pa.c
index
3294f92
..
fa93c66
100644
(file)
--- a/
gcc/config/pa/pa.c
+++ b/
gcc/config/pa/pa.c
@@
-442,6
+442,14
@@
arith32_operand (op, mode)
{
return register_operand (op, mode) || GET_CODE (op) == CONST_INT;
}
+
+int
+pc_or_label_operand (op, mode)
+ rtx op;
+ enum machine_mode mode;
+{
+ return (GET_CODE (op) == PC || GET_CODE (op) == LABEL_REF);
+}
\f
/* Legitimize PIC addresses. If the address is already
position-independent, we return ORIG. Newly generated