This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Last argument of lang_hooks_for_callgraph.analzye_tree unused?


On 11/1/07, Jan Hubicka <jh@suse.cz> wrote:

> 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 :(

Yeah, that's too bad.

Attached is the patch I committed, tested on x86_64.  This fixes the
latent bug in calls to analyze_expr that were being called with a
cgraph node instead of a decl.

Tested on x86_64.


Diego.

Attachment: 20071102-remove-analyze-expr-arg.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]