aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1994-08-09 00:03:07 -0600
committerJeff Law <law@gcc.gnu.org>1994-08-09 00:03:07 -0600
commit8d768fa2aeaf7a351def81e24ac5bb3635d529e6 (patch)
tree3356ec77adb631142546ef0b9dc495adafca3cc2 /gcc
parent326bc2de1db63451ba0918858cc8a691f36bf216 (diff)
downloadgcc-8d768fa2aeaf7a351def81e24ac5bb3635d529e6.zip
gcc-8d768fa2aeaf7a351def81e24ac5bb3635d529e6.tar.gz
gcc-8d768fa2aeaf7a351def81e24ac5bb3635d529e6.tar.bz2
pa.md (default set high): Do not accept function label arithmetic as a valid operand.
* pa.md (default set high): Do not accept function label arithmetic as a valid operand. (default lo_sum): Likewise. From-SVN: r7883
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 5c955c4..1ccdffa 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -1199,7 +1199,7 @@
(define_insn ""
[(set (match_operand:SI 0 "register_operand" "=r")
(high:SI (match_operand 1 "" "")))]
- "check_pic (1)"
+ "check_pic (1) && !is_function_label_plus_const (operands[1])"
"ldil L'%G1,%0"
[(set_attr "type" "move")
(set_attr "length" "4")])
@@ -1232,7 +1232,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(lo_sum:SI (match_operand:SI 1 "register_operand" "r")
(match_operand:SI 2 "immediate_operand" "i")))]
- ""
+ "!is_function_label_plus_const (operands[2])"
"ldo R'%G2(%1),%0"
[(set_attr "length" "4")])