r114480 - in /trunk/gcc: ChangeLog tree-dfa.c t...

amacleod@gcc.gnu.org amacleod@gcc.gnu.org
Thu Jun 8 01:18:00 GMT 2006


Author: amacleod
Date: Thu Jun  8 01:18:16 2006
New Revision: 114480

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114480
Log:

2006-06-07  Andrew MacLeod  <amacleod@redhat.com>

	PR middle-end/27793
	* tree-dfa.c (referenced_vars_dup_list): New.  List of duplicate 
	referenced_variables with matching DECL_UID's.
	(find_referenced_vars): Make sure duplicate list is empty to start.
	(referenced_var_p): Remove.
	(referenced_var_check_and_insert): Renamed from referenced_var_insert.  
	Check if var is in the list, and add if needed.  Update the duplicate
	list if a different var is in the list with the same DECL_UID.
	(add_referenced_var): Call routine to check and insert.
	* tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
	* tree-flow.h (referenced_vars_dup_list): External declaration.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-dfa.c
    trunk/gcc/tree-flow.h
    trunk/gcc/tree-ssa.c



More information about the Gcc-cvs mailing list