r129039 - in /branches/lto/gcc: ChangeLog.lto d...

dnovillo@gcc.gnu.org dnovillo@gcc.gnu.org
Fri Oct 5 21:46:00 GMT 2007


Author: dnovillo
Date: Fri Oct  5 21:46:41 2007
New Revision: 129039

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129039
Log:
2007-10-05  Diego Novillo  <dnovillo@google.com>

	* lto-function-out.c (output_constructor): Handle constructor elts
	with NULL indices.
	(output_expr_operand): Check whether the variable is in the
	global scope.
	(lto_output): Only handle statics that are in the global
	scope.
	* tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for
	the new field.

	Backport

	2007-07-26  Doug Kwan  <dougkwan@google.com>

	* dwarf2out.c: (may_reference_to_unsued) : Renamed from
	reference_to_unsued as it is now more conservative than
	before. Replace unreachable assert into a return that tells
	caller that tree may reference an unused DECL.
	(rtl_for_decl_init): Rename callee to may_reference_to_usused.


testsuite/ChangeLog.lto:

	* lib/gcc-dg.exp: Enable -flto at -O2.


Added:
    branches/lto/gcc/testsuite/ChangeLog.lto
Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/dwarf2out.c
    branches/lto/gcc/lto-function-out.c
    branches/lto/gcc/testsuite/lib/gcc-dg.exp
    branches/lto/gcc/tree-nested.c



More information about the Gcc-cvs mailing list