> Jan, I'm converting the call graph builder code for tuples and in the
> process I ran into calls to lang_hooks.callgraph.analyze_expr().  From
> what I've seen:
> 
> 1- The third argument to that function (DECL), is not used by any callback.
> 
> 2- In fact, if it was used, we'd ICE because the function signature expects
>    a tree and we are calling it with a callgraph node.
> 
> I'm tempted to just delete the argument.  Unless you have a future use for it?

Just go ahead and kill it.  I would preffer to remove the whole hook,
but we still keep some non-GIMPLE expressions in static initializers :(

Honza
> 
> 
> Thanks.

Reply via email to