[fix] for: ra-colorize.c:1068: `inv_reg_alloc_order' undeclared

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Jul 24 21:48:00 GMT 2002


> +/* I don't want to clutter up the actual code with ifdef's.  */
> +#ifdef REG_ALLOC_ORDER
> +#define inv_reg_alloc_order(c) inv_reg_alloc_order[c]
> +#else
> +#define inv_reg_alloc_order(c) c

Should the above be

#define inv_reg_alloc_order(c) FIRST_PSEUDO_REGISTER - 1 - (c)

to obtain the inverse of lowest to highest ordering?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc mailing list