From: Richard Stallman Date: Wed, 24 Jun 1992 03:01:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~12672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=051e5bbf6ba91f419b6d3ff6a3a75e17dd2506dd;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r1259 --- diff --git a/gcc/input.h b/gcc/input.h index 8c326f9e6a75..9d238dcfdaaf 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -15,6 +15,10 @@ struct file_stack char *name; struct file_stack *next; int line; + /* This is for front ends that do include processing + internally rather than having a preprocessor do it. + Modula 2 needs this. */ + FILE *fd; }; /* Stack of currently pending input files. diff --git a/gcc/regclass.c b/gcc/regclass.c index eda799c6406b..4bb66054df9b 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -962,12 +962,12 @@ record_address_regs (x, bcost, icost) /* Indexed by pseudo register number, gives uid of first insn using the reg (as of the time reg_scan is called). */ -short *regno_first_uid; +int *regno_first_uid; /* Indexed by pseudo register number, gives uid of last insn using the reg (as of the time reg_scan is called). */ -short *regno_last_uid; +int *regno_last_uid; /* Record the number of registers we used when we allocated the above two tables. If we are called again with more than this, we must re-allocate @@ -996,15 +996,15 @@ reg_scan (f, nregs, repeat) /* Leave some spare space in case more regs are allocated. */ highest_regno_in_uid_map = nregs + nregs / 20; regno_first_uid - = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); + = (int *) oballoc (highest_regno_in_uid_map * sizeof (int)); regno_last_uid - = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); + = (int *) oballoc (highest_regno_in_uid_map * sizeof (int)); reg_n_sets = (short *) oballoc (highest_regno_in_uid_map * sizeof (short)); } - bzero (regno_first_uid, highest_regno_in_uid_map * sizeof (short)); - bzero (regno_last_uid, highest_regno_in_uid_map * sizeof (short)); + bzero (regno_first_uid, highest_regno_in_uid_map * sizeof (int)); + bzero (regno_last_uid, highest_regno_in_uid_map * sizeof (int)); bzero (reg_n_sets, highest_regno_in_uid_map * sizeof (short)); max_parallel = 3;