* misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
authorAlan Modra <amodra@bigpond.net.au>
Fri, 6 Feb 2004 11:01:20 +0000 (11:01 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 6 Feb 2004 11:01:20 +0000 (21:31 +1030)
From-SVN: r77391

gcc/ada/ChangeLog
gcc/ada/misc.c

index 3c3cb1536882a12baeb334e2caf2f084d87ed1ae..b3b0c90cfe6747e7c0216023b9eed7967237f2e9 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
+
 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
 
        * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
index 7554a127e5e2548ff088999a19617199f341d57b..7e544fb1fda2c92114a44ca2b820b8af32d7b75e 100644 (file)
@@ -864,7 +864,7 @@ default_pass_by_ref (tree gnu_type)
 {
   CUMULATIVE_ARGS cum;
 
-  INIT_CUMULATIVE_ARGS (cum, NULL_TREE, NULL_RTX, 0);
+  INIT_CUMULATIVE_ARGS (cum, NULL_TREE, NULL_RTX, 0, 2);
 
   /* We pass aggregates by reference if they are sufficiently large.  The
      choice of constant here is somewhat arbitrary.  We also pass by