On Thu, May 10, 2012 at 1:19 PM, Jan Hubicka <hubi...@ucw.cz> wrote: > Hi, > after some thought, the changes into omp-low are not as obviously harmless as > I > originally tought. So i decided to handle this by separate patch. This patch > simply makes cgraph to not release bodies of artificial functions that papers > around the problem in easier way. > > Bootstrapped/regtested x86_64-linux, comitted. > > Honza > > * cgraph.h (cgraph_remove_unreachable_nodes): Rename to ... > (symtab_remove_unreachable_nodes): ... this one. > * ipa-cp.c (ipcp_driver): Do not remove unreachable nodes. > * cgraphunit.c (ipa_passes): Update. > * cgraphclones.c (cgraph_materialize_all_clones): Update. > * cgraph.c (cgraph_release_function_body): Only turn initial > into error mark when initial was previously set. > * ipa-inline.c (ipa_inline): Update. > * ipa.c: Include ipa-inline.h > (enqueue_cgraph_node, enqueue_varpool_node): Remove. > (enqueue_node): New function. > (process_references): Update. > (symtab_remove_unreachable_nodes): Cleanup. > * passes.c (execute_todo, execute_one_pass): Update.
This may have caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53321 -- H.J.