aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 669c9e1..23e3743 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
+ sized types.
+
Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
* build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 3897591..a721fb6 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -1267,7 +1267,7 @@ extern int sparc_mode_class[];
|| TYPE_MODE (TYPE) == TFmode \
|| TYPE_MODE (TYPE) == TCmode) \
: (TYPE_MODE (TYPE) == BLKmode \
- && int_size_in_bytes (TYPE) > 32))
+ && (unsigned HOST_WIDE_INT) int_size_in_bytes (TYPE) > 32))
/* Functions which return large structures get the address
to place the wanted value at offset 64 from the frame.