revert: mips.c (mips_pass_by_reference): Handle mode sizes correctly.
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 14 Jul 2004 07:35:44 +0000 (07:35 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 14 Jul 2004 07:35:44 +0000 (07:35 +0000)
Revert:
2004-07-13  Richard Henderson  <rth@redhat.com>
* config/mips/mips.c (mips_pass_by_reference): Handle mode sizes
correctly.

From-SVN: r84677

gcc/ChangeLog
gcc/config/mips/mips.c

index fb1b88628fa8cb9c295feccd57476eeeab06d98a..72602fe877dccc8c79c1614446f3b49c71383618 100644 (file)
@@ -1,3 +1,10 @@
+2004-07-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       Revert:
+       2004-07-13  Richard Henderson  <rth@redhat.com>
+       * config/mips/mips.c (mips_pass_by_reference): Handle mode sizes
+       correctly.
+
 2004-07-14  Paolo Bonzini  <bonzini@gnu.org>
 
        * tree-dfa.c (make_rename_temp): Work just like
index 02231f39171d6237d420f955235c6a55eb324549..4e9b6b9c5ebbc9febba17b71d4d15cb5554eeeec 100644 (file)
@@ -7339,11 +7339,7 @@ mips_pass_by_reference (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,
       if (type == NULL_TREE || mode == DImode || mode == DFmode)
        return 0;
 
-      if (type)
-        size = int_size_in_bytes (type);
-      else
-       size = GET_MODE_SIZE (mode);
-
+      size = int_size_in_bytes (type);
       return size == -1 || size > UNITS_PER_WORD;
     }
   else