[PATCH] Fix PR optimization/8366 (Sparc)
Eric Botcazou
ebotcazou@libertysurf.fr
Sun Mar 16 09:14:00 GMT 2003
> This is ok, except for SYMBOLIC_CONST. You might as well
> call symbolic_operand directly all the time.
Of course. The modified patch is attached.
> > If so, on which branch(es) are you willing to accept the fix?
>
> All of them.
Ok, I'm going to enter a round of testing and I'll report tomorrow.
Thanks for your help.
--
Eric Botcazou
2003-03-16 Eric Botcazou <ebotcazou@libertysurf.fr>
Richard Henderson <rth@redhat.com>
PR optimization/8366
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_pic2.diff
Type: text/x-diff
Size: 2272 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030316/18754571/attachment.bin>
More information about the Gcc-patches
mailing list