> Change in v3:
> Add safe_as_a<asm_node*> needed for rebase.
>
> ---
>
> Previous patch added asm_node streaming, so we need to add referenced
> symbols to partition.
>
> asm_nodes must be added to partition before computing the boundary.
>
> gcc/ChangeLog:
>
> * lto-cgraph.cc (compute_ltrans_boundary): Add symbols
> referenced from asm_nodes.
> * lto-streamer-out.cc (lto_output): Move adding asm_nodes
> to...
> * passes.cc (ipa_write_summaries): ...here.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.dg/lto/toplevel-extended-asm-1_0.c: New test.
> * gcc.dg/lto/toplevel-extended-asm-1_1.c: New test.
OK
thanks!
Honza