OSDN Git Service

2006-06-07 Andrew MacLeod <amacleod@redhat.com>
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jun 2006 01:18:16 +0000 (01:18 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jun 2006 01:18:16 +0000 (01:18 +0000)
commitd328c4ab4881495fcd2f85a8b3b946573b0d8d51
treef792289fadf43fd192c8ce4c6629ffdae96b0e3b
parenta8a6544d4748a449c17156615e7ab8e34b523921
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114480 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-dfa.c
gcc/tree-flow.h
gcc/tree-ssa.c