On Wed, May 18, 2005 at 01:25:05PM +0200, Richard Guenther wrote:
> 
> The following snippet
> 
>       /* Differs from default_conversion by not setting TREE_ADDRESSABLE
>          (because calling an inline function does not mean the function
>          needs to be separately compiled).  */
>       fntype = build_type_variant (TREE_TYPE (function),
>                                    TREE_READONLY (function),
>                                    TREE_THIS_VOLATILE (function));
>       fundecl = function;
>       function = build1 (ADDR_EXPR, build_pointer_type (fntype),
> function);
> 
> purposely builds an ADDR_EXPR tree with mismatched types:

Well, no, the only thing it purposfully does (according to the comment)
is not set TREE_ADDRESSABLE.  No idea why we're building a type variant.


r~

Reply via email to