This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144422 - in /branches/lto/gcc: ChangeLog.lto i...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 25 Feb 2009 01:04:17 -0000
- Subject: r144422 - in /branches/lto/gcc: ChangeLog.lto i...
Author: dnovillo
Date: Wed Feb 25 01:04:17 2009
New Revision: 144422
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144422
Log:
2009-02-24 Rafael Avila de Espindola <espindola@google.com>
* ipa.c (cgraph_remove_unreachable_nodes): Search all clones.
* lto-cgraph.c: Include lto-util.h
(maybe_redirect_inlined_node): Remove.
(output_edge): Don't worry about an edge poiting to a node not in know
by the encoder.
(output_node): Output the decl number instead of the master node
number in the case of a clone.
(output_cgraph_verify_node): Don't check that the master is in the set.
(output_cgraph): Don't output the current master for each decl. The
first node output will be the master in ltrans.
(input_node): If a clone, read the decl number and use that decls'
master node.
(input_cgraph_1): Update call to input_node.
* lto-function-out.c (lto_output): Proces each function once. Don't
care if the node is the master.
lto/ChangeLog
2009-02-24 Rafael Avila de Espindola <espindola@google.com>
* lto.c (lto_add_inline_clones): Don't add the master clone. Check
for a decl in the original bitmap, not a node.
(lto_add_all_inlinees): Remove original nodes that are not needed.
(lto_scan_statics_in_cgraph_node): Don't care if the node is the master.
testsuite/ChangeLog.lto
2009-02-24 Rafael Avila de Espindola <espindola@google.com>
* gcc.dg/lto/20090218-2_0.c: New.
* gcc.dg/lto/20090218-2_1.c: New.
Added:
branches/lto/gcc/testsuite/gcc.dg/lto/20090218-2_0.c
branches/lto/gcc/testsuite/gcc.dg/lto/20090218-2_1.c
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/ipa.c
branches/lto/gcc/lto-cgraph.c
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto.c
branches/lto/gcc/testsuite/ChangeLog.lto