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]

Re: [lto][patch] Remove nodes for extern inline function before writing to disk


On Thu, Oct 9, 2008 at 06:23, Rafael Espindola <espindola@google.com> wrote:

>        * lto-cgraph.c (output_edge): Assert that the caller is not external.
>        * passes.c (init_optimization_passes): Register pass_ipa_free_lang_specifics2.
>        * tree-pass.h (pass_ipa_free_lang_specifics2): New.
>        * tree.c (free_lang_specifics2): New.
>        (pass_ipa_free_lang_specifics2): New.

No need to create another pass for this.  Just call
cgraph_remove_unreachable_nodes from pass_ipa_free_lang_specifics.  OK
with that change.


Diego.


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