https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70706
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> --- > libbackend.a(graphite.o): In function `graphite_finalize(bool)': > /export/gnu/import/git/gcc-test-profiled/bld/gcc/../../src-trunk/gcc/graphite.c:259: > undefined reference to `tree_estimate_probability()' > collect2: error: ld returned 1 exit status > ../../src-trunk/gcc/lto/Make-lang.in:71: recipe for target 'lto1' failed > make[6]: *** [lto1] Error 1 I have comitted the following as obvious. It is not clear to me what graphite is trying to reach here and it will definitly leat to random results with profile feedback (we will likely end up with guessed profile but non-zero counts) but we can deal with that incrementally. PR bootstrap/70706 * graphite.c (graphite_finalize): Update call to tree_estimate_probability. Index: graphite.c =================================================================== --- graphite.c (revision 235064) +++ graphite.c (working copy) @@ -256,7 +256,7 @@ graphite_finalize (bool need_cfg_cleanup cleanup_tree_cfg (); profile_status_for_fn (cfun) = PROFILE_ABSENT; release_recorded_exits (cfun); - tree_estimate_probability (); + tree_estimate_probability (false); } free_original_copy_tables ();