Files
gcc-reflection/gcc/passes.cc
Michal Jires 4faf70b615 lto: Compute partition boundary with asm_nodes
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.
2026-01-11 22:48:54 +01:00

90 KiB