2006-11-15 Bud Davis <bdavis9659@sbcglobal.net>
authorbdavis <bdavis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Nov 2006 05:10:22 +0000 (05:10 +0000)
committerbdavis <bdavis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Nov 2006 05:10:22 +0000 (05:10 +0000)
commitcdd8ed531879ce76abc45fb060db6ac7eda13246
tree60df5eb822d32866683ff7c963603250f4e57df4
parent032fdbee06d9e3b0f6ffd4af0b9654bce64f3b3b
2006-11-15  Bud Davis <bdavis9659@sbcglobal.net>

        PR fortran/28974
        * gfortran.h (gfc_expr): Add element which holds a splay-tree
        for the exclusive purpose of quick access to a constructor by
        offset.
        * data.c (find_con_by_offset): Use the splay tree for the search.
        (gfc_assign_data_value): Use the splay tree.
        (gfc_assign_data_value_range): ditto.
        * expr.c (gfc_get_expr): Initialize new element to null.
        (gfc_free_expr): Delete splay tree when deleting gfc_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118844 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/fortran/expr.c
gcc/fortran/gfortran.h