https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94235

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
--- lto-cgraph.c.jj     2020-06-09 08:28:11.221207787 +0200
+++ lto-cgraph.c        2020-06-09 16:02:20.251542204 +0200
@@ -290,6 +290,7 @@ lto_output_edge (struct lto_simple_outpu
       bp_pack_value (&bp, edge->indirect_info->num_speculative_call_targets,
                     16);
     }
+  stream_output_location (ob, &bp, edge->goto_locus);
   streamer_write_bitpack (&bp);
 }

@@ -1511,6 +1512,7 @@ input_edge (class lto_input_block *ib, v
       edge->indirect_info->num_speculative_call_targets
        = bp_unpack_value (&bp, 16);
     }
+  stream_input_location (&edge->goto_locus, &bp, ZZZ);
 }


is clearly not it because one needs data_in which isn't available, and do
something about locus caching etc.

Reply via email to