This is the mail archive of the
mailing list for the GCC project.
Re: [tuples] meaning of DECL_SAVED_TREE while analyzing cgraph
On 7/31/07 6:10 PM, Jan Hubicka wrote:
> There are also few other occurences in cgraph.c and ipa-inline. Those
> are used to test whether function body is present. When you have body
> elsewhere now, you can check something else (such as
Currently, in tuples, the presence of the GIMPLE function body is given
by gimple_body(fndecl). After the CFG has been built, then
D_S_F(cfun)->cfg will be non-NULL.
We should abstract these two tests into a single predicate. Also,
testing for the CFG of a function should be something like cfg (fndecl)
or something along those lines.