From 746015842f9a694cfb6b520a6ccb755c87198004 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 12 May 2003 21:17:12 +0000 Subject: [PATCH] ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused. * 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 | 7 +++++++ gcc/config/ia64/ia64.c | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6133ec5b192b..1962979daa0a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-05-12 Andreas Schwab + + * 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 * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT. diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index eed9a7b766cc..60e5dbc2bf0c 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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) {