/* Name-satisfaction for GNU Chill compiler.
- Copyright (C) 1993, 98, 99, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
struct decl_chain new_link;
struct decl_chain *link;
struct decl_chain *chain = prev_chain;
- char *save_filename = input_filename;
+ const char *save_filename = input_filename;
int save_lineno = lineno;
tree result = decl;
{
if (!pointer_type_breaks_cycle)
{
- error_with_decl (decl, "Cycle: `%s' depends on ...");
+ error_with_decl (decl, "cycle: `%s' depends on ...");
cycle_error_print (prev_chain, decl);
error_with_decl (decl, " `%s'");
return error_mark_node;
}
/* DECL_SIZE is set to prevent re-doing this stuff. */
DECL_SIZE (decl) = TYPE_SIZE (TREE_TYPE (decl));
+ DECL_SIZE_UNIT (decl) = TYPE_SIZE_UNIT (TREE_TYPE (decl));
+
if (! TREE_CONSTANT (DECL_INITIAL (decl))
&& TREE_CODE (DECL_INITIAL (decl)) != ERROR_MARK)
{
default:
;
}
- arg_length = tree_code_length[TREE_CODE (exp)];
+
+ arg_length = TREE_CODE_LENGTH (TREE_CODE (exp));
for (i = 0; i < arg_length; i++)
SATISFY (TREE_OPERAND (exp, i));
return exp;