Warning fixes:
* c-decl.c (set_current_function_name_declared, anon_aggr_type_p, lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED. * c-parse.in (stmt): Delete unused variables. * convert.c (convert_to_vector): Likewise. * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'. * tree.c (finish_vector_type): Prototype. From-SVN: r34987
This commit is contained in:
parent
878a5794e0
commit
20217ac124
@ -1,3 +1,16 @@
|
||||
2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
|
||||
lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
|
||||
|
||||
* c-parse.in (stmt): Delete unused variables.
|
||||
|
||||
* convert.c (convert_to_vector): Likewise.
|
||||
|
||||
* gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
|
||||
|
||||
* tree.c (finish_vector_type): Prototype.
|
||||
|
||||
2000-07-12 Bruce Korb <bkorb@gnu.org>
|
||||
|
||||
* fixinc/fixfixes.c: use xmalloc
|
||||
|
@ -6818,7 +6818,7 @@ stmts_are_full_exprs_p ()
|
||||
|
||||
int
|
||||
anon_aggr_type_p (node)
|
||||
tree node;
|
||||
tree node ATTRIBUTE_UNUSED;
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -6904,7 +6904,7 @@ do_case (low_value, high_value)
|
||||
|
||||
tree
|
||||
lang_expand_stmt (t)
|
||||
tree t;
|
||||
tree t ATTRIBUTE_UNUSED;
|
||||
{
|
||||
abort ();
|
||||
return NULL_TREE;
|
||||
@ -6914,7 +6914,7 @@ lang_expand_stmt (t)
|
||||
|
||||
void
|
||||
set_current_function_name_declared (i)
|
||||
int i;
|
||||
int i ATTRIBUTE_UNUSED;
|
||||
{
|
||||
abort ();
|
||||
}
|
||||
|
@ -1843,11 +1843,11 @@ stmt:
|
||||
lineno_labeled_stmt
|
||||
{ expand_end_case ($3); }
|
||||
| BREAK ';'
|
||||
{ tree break_stmt = build_break_stmt ();
|
||||
{ build_break_stmt ();
|
||||
stmt_count++;
|
||||
genrtl_break_stmt (); }
|
||||
| CONTINUE ';'
|
||||
{ tree continue_stmt = build_continue_stmt ();
|
||||
{ build_continue_stmt ();
|
||||
stmt_count++;
|
||||
genrtl_continue_stmt (); }
|
||||
| RETURN ';'
|
||||
|
@ -460,8 +460,6 @@ tree
|
||||
convert_to_vector (type, expr)
|
||||
tree type, expr;
|
||||
{
|
||||
tree subtype = TREE_TYPE (type);
|
||||
|
||||
switch (TREE_CODE (TREE_TYPE (expr)))
|
||||
{
|
||||
case INTEGER_TYPE:
|
||||
|
@ -173,7 +173,8 @@ process_rtx (desc, lineno)
|
||||
case DEFINE_INSN_AND_SPLIT:
|
||||
{
|
||||
const char *split_cond;
|
||||
rtx split, attr;
|
||||
rtx split;
|
||||
rtvec attr;
|
||||
int i;
|
||||
|
||||
/* Create a split with values from the insn_and_split. */
|
||||
|
@ -279,6 +279,7 @@ static int type_hash_eq PARAMS ((const void*, const void*));
|
||||
static unsigned int type_hash_hash PARAMS ((const void*));
|
||||
static void print_type_hash_statistics PARAMS((void));
|
||||
static int mark_hash_entry PARAMS((void **, void *));
|
||||
static void finish_vector_type PARAMS((tree));
|
||||
|
||||
/* If non-null, these are language-specific helper functions for
|
||||
unsave_expr_now. If present, LANG_UNSAVE is called before its
|
||||
|
Loading…
Reference in New Issue
Block a user