This is the mail archive of the gcc-bugs@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]

[Bug middle-end/27793] [4.1 Regression] num_ssa_names inconsistent or immediate use iterator wrong



------- Comment #18 from amacleod at redhat dot com  2006-06-08 01:18 -------
Subject: Bug 27793

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27793


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