This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR optimization/8366 (Sparc)
On Sun, Mar 16, 2003 at 12:53:51AM +0100, Eric Botcazou wrote:
> * config/sparc/sparc.h: (SYMBOLIC_CONST): New.
> (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
> PIC+SYMBOLIC_CONST in other modes than Pmode.
> (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
> the form PIC+SYMBOLIC_CONST as mode dependent.
This is ok, except for SYMBOLIC_CONST. You might as well
call symbolic_operand directly all the time.
> If so, on which branch(es) are you willing to accept the fix?
All of them.
For mainline I'd prefer to see all of these pulled out of line,
but this is not a requirement for your patch.
r~