mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
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.
90 KiB
90 KiB