OSDN Git Service

* config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2002 20:52:10 +0000 (20:52 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2002 20:52:10 +0000 (20:52 +0000)
modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49192 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.md

index eca7673..b460672 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
+       modes.
+
 2002-01-24  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.c (print_operand): Remove support for
index 1a038d1..9b54d29 100644 (file)
 
 (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"