summaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-24 20:52:10 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-24 20:52:10 +0000
commita50d3fbad0b48ab80a8740882c324ba504cbed62 (patch)
tree77f81429c879e8530521c7e8eea41ff2c9a75641 /gcc/config/sh
parent723582fc958503fe3f03a3e8f96c267a2737736b (diff)
downloadgcc-a50d3fbad0b48ab80a8740882c324ba504cbed62.tar.gz
* config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49192 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 1a038d1f504..9b54d29e7ca 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -3784,11 +3784,13 @@
(define_expand "sym_label2reg"
[(set (match_operand:SI 0 "" "")
- (const (minus:SI
- (const:SI (unspec:SI [(match_operand:SI 1 "" "")] UNSPEC_PIC))
- (const (plus:SI
- (match_operand:SI 2 "" "")
- (const_int 2))))))]
+ (const:SI (minus:SI
+ (const:SI
+ (unspec:SI [(match_operand:SI 1 "" "")] UNSPEC_PIC))
+ (const:SI
+ (plus:SI
+ (match_operand:SI 2 "" "")
+ (const_int 2))))))]
"" "")
(define_expand "symGOT_load"