This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] avr: Fix PR target/12721.


Kazu Hirata <kazu@cs.umass.edu> writes:

> 	PR target/12721.
> 	* config/avr/avr.c: Include ggc.h.
> 	(tmp_reg_rtx): Declare with GTY.
> 	(zero_reg_rtx): Likewise.
> 	(ldi_reg_rtx): Remove.
> 	(avr_override_options): Initialize zero_reg_rtx and
> 	ldi_reg_rtx.
> 	(avr_init): Remove.
> 	Include gt-avr.h.
> 	* config/avr/avr.h (LDI_REG_REGNO): Remove.
> 	Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.

OK I guess.  OVERRIDE_OPTIONS doesn't seem like the right place, but I
don't think we have a better one.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]