This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove more remnants of deleted RTL passes
Paolo Bonzini <paolo.bonzini@polimi.it> writes:
>> I believe the preferred way of forcing a function to be output is to
>> feed it into cgraph marked needed, not to call rest_of_compilation
>> directly. Would you mind looking into that as a follow-up?
>
> The problem is that these function do not go through cgraph, they do
> not even pass through the tree-SSA optimizers. Indeed the preferred
> way of forcing a function to be output is to feed it into cgraph
> marked need rather than calling *tree_*rest_of_compilation directly.
Ah, yes, I see. Have a look at what I did to build_cdtor in
c-objc-common.c; that's where we want to go.
zw