r130334 - in /branches/lto/gcc: ChangeLog.lto d...
froydnj@gcc.gnu.org
froydnj@gcc.gnu.org
Wed Nov 21 21:05:00 GMT 2007
Author: froydnj
Date: Wed Nov 21 21:04:54 2007
New Revision: 130334
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130334
Log:
gcc/
* dwarf2out.c (gen_subprogram_die): Inhibit generation of labels
if we are being called for LTO's purposes.
(gen_variable_die): Don't generate multiple DIEs for and equate
the generated DIE with the decl for global variables.
(force_decl_die): Don't play games with DECL_EXTERNAL if we are
forcing a DIE for a global variable.
(lto_typedecl_ref): Remove assert.
gcc/lto/
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Don't
set TREE_ADDRESSABLE. Do set DECL_COMDAT. Set TREE_READONLY if
the type is a constant type. Set the assembler name and inform
the rest of the compiler about the new decl if the decl is not
public.
(lto_read_subroutine_type_subprogram_DIE): Don't check for equivalency
of DECL_ASSEMBLER_NAME when determining if we have a builtin. Don't
try to read in function bodies for functions that already have bodies.
* lto-symtab.c (lto_same_type_p): Check for unbounded array
equivalency.
(lto_symtab_merge_decl): Don't merge decls that aren't TREE_PUBLIC.
Check for whether we matched a builtin function type before calling
lto_same_type_p on the generated type. Permit cases where the
declaration of an array is unbounded, but the definition is bounded.
Don't combine TREE_PUBLIC flags. Copy over DECL_SIZE and
DECL_SIZE_UNIT if necessary.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/dwarf2out.c
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto-symtab.c
branches/lto/gcc/lto/lto.c
More information about the Gcc-cvs
mailing list