From: Alexandre Oliva Date: Thu, 24 Jan 2002 20:52:10 +0000 (+0000) Subject: sh.md (sym_label2reg): Make sure all CONSTs have modes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4f76ef9f331f1b052226d40ff6fd9d79c5606f3;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eca76735566..b4606723808 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-24 Alexandre Oliva + + * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have + modes. + 2002-01-24 Kazu Hirata * config/h8300/h8300.c (print_operand): Remove support for 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"