http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52634

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-04-09 
23:39:15 UTC ---
Author: hubicka
Date: Mon Apr  9 23:39:11 2012
New Revision: 186252

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186252
Log:

    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.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr52634_0.c
    trunk/gcc/testsuite/gcc.dg/lto/pr52634_1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-cgraph.c
    trunk/gcc/lto/lto.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to