re PR lto/52722 (ICE in lto_output_varpool_node)
PR lto/52722 PR lto/51765 PR lto/52634 * lto-cgraph.c (compute_ltrans_boundary): When alias is in the boundary, add its target too. * lto.c (add_references_to_partition): Add also aliased nodes. (add_cgraph_node_to_partition, add_varpool_node_to_partition): Work on nodes, not functions/variables; when adding alias, add also the aliased object. * gcc.dg/lto/pr52634_1.c: New testcase. * gcc.dg/lto/pr52634_0.c: New testcase. From-SVN: r186252
Showing
gcc/testsuite/gcc.dg/lto/pr52634_0.c
0 → 100644
gcc/testsuite/gcc.dg/lto/pr52634_1.c
0 → 100644
Please
register
or
sign in
to comment