This is the mail archive of the gcc-patches@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]

[tuples] Enable call graph


This patch converts the callgraph builder to understand GIMPLE_CALLs.
There is a not-so-unrelated change here that I'll be submitting to
mainline because it's a latent bug.

I had to commit the three patches together because they are
interdependent.  The first one re-enables the cgraph building code,
the second one fixes walk_gimple_stmt to also pass a PSET argument if
the caller wants one (to avoid visiting the same node twice).  The
third patch removes the third argument from
lang_hooks_for_callgraph.analyze_expr, it's not really used and it was
being called with a cgraph node instead of a decl.

Tested on x86_64.  Committed.


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