+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
int
anon_aggr_type_p (node)
- tree node;
+ tree node ATTRIBUTE_UNUSED;
{
return 0;
}
tree
lang_expand_stmt (t)
- tree t;
+ tree t ATTRIBUTE_UNUSED;
{
abort ();
return NULL_TREE;
void
set_current_function_name_declared (i)
- int i;
+ int i ATTRIBUTE_UNUSED;
{
abort ();
}
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 ';'
convert_to_vector (type, expr)
tree type, expr;
{
- tree subtype = TREE_TYPE (type);
-
switch (TREE_CODE (TREE_TYPE (expr)))
{
case INTEGER_TYPE:
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. */
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