diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-01-24 20:52:10 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2002-01-24 20:52:10 +0000 |
commit | a4f76ef9f331f1b052226d40ff6fd9d79c5606f3 (patch) | |
tree | 77f81429c879e8530521c7e8eea41ff2c9a75641 | |
parent | b6a95741e891a7756668403bfa71a2c8236df22c (diff) | |
download | gcc-a4f76ef9f331f1b052226d40ff6fd9d79c5606f3.zip gcc-a4f76ef9f331f1b052226d40ff6fd9d79c5606f3.tar.gz gcc-a4f76ef9f331f1b052226d40ff6fd9d79c5606f3.tar.bz2 |
sh.md (sym_label2reg): Make sure all CONSTs have modes.
* config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
modes.
From-SVN: r49192
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eca7673..b460672 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 1a038d1..9b54d29 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" |