]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Wed, 24 Jun 1992 03:01:33 +0000 (03:01 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 24 Jun 1992 03:01:33 +0000 (03:01 +0000)
From-SVN: r1259

gcc/input.h
gcc/regclass.c

index 8c326f9e6a7505454f6451166d3bdddc34d5f5b1..9d238dcfdaaf96667bf8c74022f6f7bb8d93098b 100644 (file)
@@ -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.
index eda799c6406b7145e4e150785dae16c49dd76d4c..4bb66054df9bc6cfef36fe1dacb8db9dd733ef78 100644 (file)
@@ -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;