Re: [M32C] Hookize CLASS_MAX_NREGS

2011-08-22 Thread DJ Delorie
> OK to install? > > * config/m32c/m32c.h (CLASS_MAX_NREGS): Remove macro. > * config/m32c/m32c-protos.h (m32c_class_max_nregs): Remove. > * config/m32c/m32c.c (m32c_class_max_nregs): Make static. Change > regclass argument type to reg_class_t. Change 'max' and '

[M32C] Hookize CLASS_MAX_NREGS

2011-08-22 Thread Anatoly Sokolov
Hi. This patch removes obsolete CLASS_MAX_NREGS macro from M32C back end in the GCC and introduces equivalent TARGET_CLASS_MAX_NREGS target hooks. Regression tested on m32c-unknown-elf. OK to install? * config/m32c/m32c.h (CLASS_MAX_NREGS): Remove macro. * config/m32c/m32