This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples] Enable call graph
- From: "Diego Novillo" <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Nov 2007 18:34:26 -0400
- Subject: [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.