pa-protos.h (pa_asm_output_mi_thunk): Change third argument to HOST_WIDE_INT.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Fri, 21 Jun 2002 01:37:47 +0000 (01:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 21 Jun 2002 01:37:47 +0000 (01:37 +0000)
* pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
HOST_WIDE_INT.
* pa.c (pa_asm_output_mi_thunk): Likewise.
(n_deferred_plabels): Change type to size_t.
(output_deferred_plabels, output_call): Use size_t instead of int.

From-SVN: r54867

gcc/ChangeLog
gcc/config/pa/pa-protos.h
gcc/config/pa/pa.c

index 13d7ba7d35a9806d041b4efbf6d8b8aa60e4443e..33b331bc48dff9f8c9f3051bec58964c5d6f8387 100644 (file)
@@ -1,3 +1,11 @@
+2002-06-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
+       HOST_WIDE_INT.
+       * pa.c (pa_asm_output_mi_thunk): Likewise.
+       (n_deferred_plabels): Change type to size_t.
+       (output_deferred_plabels, output_call): Use size_t instead of int.
+
 2002-06-20  Richard Henderson  <rth@redhat.com>
 
        PR target/4041
index b26b7b8fa7adde2d7f5cab81d0246f7823d218dd..a21a383a47ba77ed03bc4490c3617d4e39ae00e6 100644 (file)
@@ -163,5 +163,5 @@ extern int function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS *,
                                               enum machine_mode,
                                               tree, int));
 
-extern void pa_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree));
+extern void pa_asm_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT, tree));
 #endif /* TREE_CODE */
index bfa1c1d45c6b78a26549f16bb33f9ba4c4d275c4..7661f596e935492ea247ff3d562d179b7a5055b5 100644 (file)
@@ -156,7 +156,7 @@ struct deferred_plabel GTY(())
 };
 static GTY((length ("n_deferred_plabels"))) struct deferred_plabel *
   deferred_plabels;
-static int n_deferred_plabels = 0;
+static size_t n_deferred_plabels = 0;
 \f
 /* Initialize the GCC target structure.  */
 
@@ -4703,7 +4703,7 @@ void
 output_deferred_plabels (file)
      FILE *file;
 {
-  int i;
+  size_t i;
   /* If we have deferred plabels, then we need to switch into the data
      section and align it to a 4 byte boundary before we output the
      deferred plabels.  */
@@ -6255,7 +6255,7 @@ output_call (insn, call_dest, sibcall)
       /* Don't have to worry about TARGET_PORTABLE_RUNTIME here since
         we don't have any direct calls in that case.  */
        {
-         int i;
+         size_t i;
          const char *name = XSTR (call_dest, 0);
 
          /* See if we have already put this function on the list
@@ -6506,7 +6506,7 @@ void
 pa_asm_output_mi_thunk (file, thunk_fndecl, delta, function)
      FILE *file;
      tree thunk_fndecl;
-     int delta;
+     HOST_WIDE_INT delta;
      tree function;
 {
   const char *target_name = XSTR (XEXP (DECL_RTL (function), 0), 0);