dwarfout.c: Remove uses of "register" specifier in declarations of arguments and local...

* dwarfout.c: Remove uses of "register" specifier in
	declarations of arguments and local variables.
	* gensupport.c: Likewise.
	* local-alloc.c: Likewise.
	* regclass.c: Likewise.

From-SVN: r74854
This commit is contained in:
Kazu Hirata 2003-12-19 23:27:05 +00:00 committed by Kazu Hirata
parent 6fe68b3740
commit 49a2799521
5 changed files with 19 additions and 24 deletions

View File

@ -1,3 +1,11 @@
2003-12-19 Kazu Hirata <kazu@cs.umass.edu>
* dwarfout.c: Remove uses of "register" specifier in
declarations of arguments and local variables.
* gensupport.c: Likewise.
* local-alloc.c: Likewise.
* regclass.c: Likewise.
2003-12-19 Kelley Cook <kelleycook@wideopenwest.com>
* config.guess: Remove.

View File

@ -3720,7 +3720,7 @@ output_formal_parameter_die (void *arg)
{
case 'd': /* We were called with some kind of a ..._DECL node. */
{
register tree origin = decl_ultimate_origin (node);
tree origin = decl_ultimate_origin (node);
if (origin != NULL)
abstract_origin_attribute (origin);
@ -4774,8 +4774,8 @@ output_type (tree type, tree containing_scope)
{
tree bases = BINFO_BASETYPES (binfo);
tree accesses = BINFO_BASEACCESSES (binfo);
register int n_bases = BINFO_N_BASETYPES (binfo);
register int i;
int n_bases = BINFO_N_BASETYPES (binfo);
int i;
for (i = 0; i < n_bases; i++)
{
@ -5092,7 +5092,7 @@ output_decl (tree decl, tree containing_scope)
{
/* And its containing type. */
register tree origin = decl_class_context (decl);
tree origin = decl_class_context (decl);
if (origin)
output_type (origin, containing_scope);
}
@ -5337,7 +5337,7 @@ output_decl (tree decl, tree containing_scope)
{
/* And its containing type. */
register tree origin = decl_class_context (decl);
tree origin = decl_class_context (decl);
if (origin)
output_type (origin, containing_scope);
}
@ -5363,7 +5363,7 @@ output_decl (tree decl, tree containing_scope)
{
void (*func) (void *);
register tree origin = decl_ultimate_origin (decl);
tree origin = decl_ultimate_origin (decl);
if (origin != NULL && TREE_CODE (origin) == PARM_DECL)
func = output_formal_parameter_die;

View File

@ -842,7 +842,7 @@ process_define_cond_exec (void)
static char *
save_string (const char *s, int len)
{
register char *result = xmalloc (len + 1);
char *result = xmalloc (len + 1);
memcpy (result, s, len);
result[len] = 0;

View File

@ -2293,11 +2293,7 @@ post_mark_life (int regno, enum machine_mode mode, int life, int birth,
int death)
{
int j = HARD_REGNO_NREGS (regno, mode);
#ifdef HARD_REG_SET
/* Declare it register if it's a scalar. */
register
#endif
HARD_REG_SET this_reg;
HARD_REG_SET this_reg;
CLEAR_HARD_REG_SET (this_reg);
while (--j >= 0)

View File

@ -321,10 +321,7 @@ init_reg_sets_1 (void)
{
for (j = 0; j < N_REG_CLASSES; j++)
{
#ifdef HARD_REG_SET
register /* Declare it register if it's a scalar. */
#endif
HARD_REG_SET c;
HARD_REG_SET c;
int k;
COPY_HARD_REG_SET (c, reg_class_contents[i]);
@ -355,10 +352,7 @@ init_reg_sets_1 (void)
{
for (j = 0; j < N_REG_CLASSES; j++)
{
#ifdef HARD_REG_SET
register /* Declare it register if it's a scalar. */
#endif
HARD_REG_SET c;
HARD_REG_SET c;
int k;
COPY_HARD_REG_SET (c, reg_class_contents[i]);
@ -2544,10 +2538,7 @@ reg_class_subset_p (enum reg_class c1, enum reg_class c2)
int
reg_classes_intersect_p (enum reg_class c1, enum reg_class c2)
{
#ifdef HARD_REG_SET
register
#endif
HARD_REG_SET c;
HARD_REG_SET c;
if (c1 == c2) return 1;