New and undocumented target hooks (cf. PR3386, a regression)

Eric Botcazou ebotcazou@libertysurf.fr
Sat Dec 4 00:21:00 GMT 2004


> + @deftypefn {Target Hook} rtx TARGET_DELEGITIMIZE_ADDRESS (rtx @var{x})
> + This hook is used to undo the possibly obfuscating effects of the
> + @code{LEGITIMIZE_ADDRESS} and @code{LEGITIMIZE_RELOAD_ADDRESS} target
> + macros.  Some backend implementations of these macros wrap symbol
> + references inside an @code{UNSPEC} rtx to represent PIC or similar
> + addressing modes.  This target hook allows GCC's optimizers to understand
> + the semantics of these opaque @code{UNSPEC}s by converting them back
> + into their original form.
> + @end deftypefn

Let me say that I now understand why you weren't advertising it before. ;-)

-- 
Eric Botcazou



More information about the Gcc mailing list