2011/5/10 Weddington, Eric <eric.wedding...@atmel.com>: > > >> -----Original Message----- >> From: Denis Chertykov [mailto:cherty...@gmail.com] >> Sent: Tuesday, May 10, 2011 5:42 AM >> To: Eric Botcazou >> Cc: Weddington, Eric; gcc-patches@gcc.gnu.org; Anatoly Sokolov; Georg- >> Johann Lay >> Subject: Re: [AVR] Couple of tweaks >> >> 2011/5/8 Eric Botcazou <ebotca...@adacore.com>: >> >> Have you run the regression test suite for the AVR for this patch? >> > >> > The compiler doesn't even build without the print_operand_address >> hunk... >> >> Which compiler ? >> > > Hi Denis, > > I think he's referring to the Ada compiler for AVR.
Ohh, yes. I'm worry about this: > 2. avr_legitimate_address_p accepts SUBREGs in addresses in non-strict > mode. > This can make the job of reload impossible given the scarcity of > POINTER_REGS, > for example for "fat pointer" types in Ada, which are structures made up > of 2 > pointers and aligned enough to have SImode. The port don't have to disable subregs in legitimate_address_p. So, the current avr_legitimate_address_p is correct. May be it's GCC core bug ? Denis.