This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r147576 - in /branches/lto/gcc: ChangeLog.lto l...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 15 May 2009 13:33:01 -0000
- Subject: r147576 - in /branches/lto/gcc: ChangeLog.lto l...
Author: dnovillo
Date: Fri May 15 13:33:00 2009
New Revision: 147576
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147576
Log:
* lto-symtab.c (lto_symtab_prevailing_decl): If DECL is a
builtin return it.
* lto-function-out.c (output_expr_operand)<FUNCTION_DECL>:
Set TAG to LTO_function_decl1 if EXPR is a builtin.
Otherwise, set it to LTO_function_decl0.
(output_function_decl): If DECL is a builtin, only write
its class and function code.
* lto-function-in.c (input_function_decl): Add argument TAG.
Update all users.
If TAG is LTO_function_decl1 retrieve the function symbol
from the built_in_decls array.
* lto-cgraph.c (input_node): Allow nodes of builtin
functions to be overwritten.
* lto-tree-tags.def: Add LTO_function_decl0 and
LTO_function_decl1.
Remove LTO_function_decl. Update all users.
* lto-tags.h (enum LTO_tags): Add LTO_function_decl0 and
LTO_function_decl1.
Remove LTO_function_decl.
lto/ChangeLog
* lto.c (lto_materialize_function): Assert that DECL is
not a builtin.
(materialize_cgraph): Don't try to materialize builtin
functions.
* lto-section-out.c (write_symbol_vec): Do not write
builtin functions.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/lto-cgraph.c
branches/lto/gcc/lto-function-in.c
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto-section-out.c
branches/lto/gcc/lto-symtab.c
branches/lto/gcc/lto-tags.h
branches/lto/gcc/lto-tree-tags.def
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto.c