This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144299 - in /branches/lto/gcc: ChangeLog.lto l...
- From: espindola at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 19 Feb 2009 16:18:00 -0000
- Subject: r144299 - in /branches/lto/gcc: ChangeLog.lto l...
Author: espindola
Date: Thu Feb 19 16:17:59 2009
New Revision: 144299
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144299
Log:
2009-02-19 Rafael Avila de Espindola <espindola@google.com>
* gcc.dg/lto/20090218-1_0.c: New.
* gcc.dg/lto/20090218-1_1.c: New.
* gcc.dg/lto/20090218-2_0.c: New.
* gcc.dg/lto/20090218-2_1.c: New.
2009-02-19 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.
(lto_promote_cross_file_statics): Use a new context.seen_node_decls
for each set
2009-02-19 Rafael Avila de Espindola <espindola@google.com>
* 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.
Added:
branches/lto/gcc/testsuite/gcc.dg/lto/20090218-1_0.c
branches/lto/gcc/testsuite/gcc.dg/lto/20090218-1_1.c
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/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