[PATCH] Fix PR optimization/8366 (Sparc)

Eric Botcazou ebotcazou@libertysurf.fr
Sun Mar 16 00:08:00 GMT 2003


> You need both.

Something like this?

	* 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.

If so, on which branch(es) are you willing to accept the fix?

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_pic.diff
Type: text/x-diff
Size: 2366 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030316/b7655872/attachment.bin>


More information about the Gcc-patches mailing list