[patch] Provide a default definition for HARD_REGNO_NREGS.
Kazu Hirata
kazu@cs.umass.edu
Fri Mar 19 08:14:00 GMT 2004
Hi,
> Index: defaults.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/defaults.h,v
> retrieving revision 1.130
> diff -u -r1.130 defaults.h
> --- defaults.h 7 Mar 2004 20:23:26 -0000 1.130
> +++ defaults.h 7 Mar 2004 20:30:41 -0000
> @@ -707,4 +707,7 @@
> #define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN)
> #endif
>
> +#define HARD_REGNO_NREGS(REGNO, MODE) \
> + ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)
> +
> #endif /* ! GCC_DEFAULTS_H */
This would cause a multiple definition. Let me drop my patch.
Kazu Hirata
More information about the Gcc-patches
mailing list