This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r152766 - in /branches/redhat/gcc-4_4-branch/gc...


Author: jakub
Date: Wed Oct 14 12:13:08 2009
New Revision: 152766

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152766
Log:
2009-10-08  Jakub Jelinek  <jakub@redhat.com>

	* tree-ssa-operands.c (pop_stmt_changes): In DEBUG stmts, if
	an SSA operand is DECL_P and referenced, mark it for renaming.

	* gcc.dg/debug/vta-2.c: New test.

2009-09-30  Alexandre Oliva  <aoliva@redhat.com>

	* tree-dfa.c (referenced_var_p): New.
	(remove_referenced_var): Clear renaming mark.
	* tree-flow.h (referenced_var_p): Declare.
	(sym_marked_for_renaming, clear_mark_for_renaming): Declare.
	* tree-into-ssa.c (clear_mark_for_renaming): New.
	(sym_marked_for_renaming): New.
	* tree-ssa-operands.c (pop_stmt_changes): Reset debug stmts
	that reference otherwise-unreferenced variables.

	* gcc.dg/debug/vta-1.c: New.

Added:
    branches/redhat/gcc-4_4-branch/gcc/testsuite/gcc.dg/debug/vta-1.c
    branches/redhat/gcc-4_4-branch/gcc/testsuite/gcc.dg/debug/vta-2.c
Modified:
    branches/redhat/gcc-4_4-branch/gcc/ChangeLog
    branches/redhat/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/redhat/gcc-4_4-branch/gcc/tree-dfa.c
    branches/redhat/gcc-4_4-branch/gcc/tree-flow.h
    branches/redhat/gcc-4_4-branch/gcc/tree-into-ssa.c
    branches/redhat/gcc-4_4-branch/gcc/tree-ssa-operands.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]