aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/ia64.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-05-12 21:17:12 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2003-05-12 21:17:12 +0000
commit746015842f9a694cfb6b520a6ccb755c87198004 (patch)
treef79c3fabad338e00169232cdf4795e2b3555a458 /gcc/config/ia64/ia64.c
parent8c0a5264824315c0b226506e25e44f068a89f780 (diff)
downloadgcc-746015842f9a694cfb6b520a6ccb755c87198004.zip
gcc-746015842f9a694cfb6b520a6ccb755c87198004.tar.gz
gcc-746015842f9a694cfb6b520a6ccb755c87198004.tar.bz2
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
Diffstat (limited to 'gcc/config/ia64/ia64.c')
-rw-r--r--gcc/config/ia64/ia64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index eed9a7b..60e5dbc 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)
{