ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused.
authorAndreas Schwab <schwab@suse.de>
Mon, 12 May 2003 21:17:12 +0000 (21:17 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Mon, 12 May 2003 21:17:12 +0000 (21:17 +0000)
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
as unused.
(bundling): Initialize 'pos'.
(ia64_expand_builtin): Initialize 'rmode'.

From-SVN: r66738

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 6133ec5b192b9231e5c17d8e8ca5856c3e5bf424..1962979daa0afce7f537226781da91cf463f025a 100644 (file)
@@ -1,3 +1,10 @@
+2003-05-12  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
+       as unused.
+       (bundling): Initialize 'pos'.
+       (ia64_expand_builtin): Initialize 'rmode'.
+
 2003-05-12  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
index eed9a7b766cc818e1bed7504d58469e1ef4f5b84..60e5dbc2bf0c9517146415803204242b409ab02f 100644 (file)
@@ -3609,7 +3609,8 @@ ia64_function_arg_pass_by_reference (cum, mode, type, named)
    this is an indirect call.  */
 static bool
 ia64_function_ok_for_sibcall (decl, exp)
-     tree decl, exp;
+     tree decl;
+     tree exp ATTRIBUTE_UNUSED;
 {
   /* Direct calls are always ok.  */
   if (decl)
@@ -6554,7 +6555,7 @@ bundling (dump, verbose, prev_head_insn, tail)
   rtx insn, next_insn;
   int insn_num;
   int i, bundle_end_p, only_bundle_end_p, asm_p;
-  int pos, max_pos, template0, template1;
+  int pos = 0, max_pos, template0, template1;
   rtx b;
   rtx nop;
   enum attr_type type;
@@ -8151,7 +8152,7 @@ ia64_expand_builtin (exp, target, subtarget, mode, ignore)
   tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
   unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
   tree arglist = TREE_OPERAND (exp, 1);
-  enum machine_mode rmode;
+  enum machine_mode rmode = VOIDmode;
 
   switch (fcode)
     {