aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Haley <aph@cambridge.redhat.com>2001-08-17 14:41:51 +0000
committerAndrew Haley <aph@gcc.gnu.org>2001-08-17 14:41:51 +0000
commitff0a63e8e4e4e591291a518df74f793c857ea92e (patch)
tree4899741b8d51cc751e582ab68f13d5262de01ac0
parentabde42f7c757b26e71298e8cae90b0692bdd9fd7 (diff)
downloadgcc-ff0a63e8e4e4e591291a518df74f793c857ea92e.zip
gcc-ff0a63e8e4e4e591291a518df74f793c857ea92e.tar.gz
gcc-ff0a63e8e4e4e591291a518df74f793c857ea92e.tar.bz2
sh.md: Add modes to unspecs in first insn to match those in the second.
2001-08-10 Andrew Haley <aph@cambridge.redhat.com> * config/sh/sh.md: Add modes to unspecs in first insn to match those in the second. * Makefile.in: Fix collect2 copy for Cygwin. From-SVN: r44962
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in4
-rw-r--r--gcc/config/sh/sh.md2
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4929dd4..e5fb0e2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-10 Andrew Haley <aph@cambridge.redhat.com>
+
+ * config/sh/sh.md: Add modes to unspecs in first insn to match
+ those in the second.
+
+ * Makefile.in: Fix collect2 copy for Cygwin.
+
Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
Install the proper patch.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8ae2536..6f748ca 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1191,9 +1191,9 @@ COLLECT2_OBJS = collect2.o tlink.o hash.o intl.o underscore.o version.o
COLLECT2_LIBS = @COLLECT2_LIBS@
collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
# Don't try modifying collect2 (aka ld) in place--it might be linking this.
- $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@T \
+ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o T$@ \
$(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS)
- mv -f $@T $@
+ mv -f T$@ $@
collect2.o : collect2.c $(CONFIG_H) $(SYSTEM_H) gstab.h intl.h \
$(OBSTACK_H) $(DEMANGLE_H) collect2.h version.h
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 5eba38e..2844291 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -3746,7 +3746,7 @@
(define_expand "GOTaddr2picreg"
[(set (reg:SI R0_REG)
- (unspec [(const (unspec [(match_dup 1)] UNSPEC_PIC))]
+ (unspec [(const:SI (unspec:SI [(match_dup 1)] UNSPEC_PIC))]
UNSPEC_MOVA))
(set (match_dup 0) (const:SI (unspec:SI [(match_dup 1)] UNSPEC_PIC)))
(set (match_dup 0) (plus:SI (match_dup 0) (reg:SI R0_REG)))]