diff options
author | Bud Davis <bdavis9659@sbcglobal.net> | 2006-11-15 05:10:22 +0000 |
---|---|---|
committer | Bud Davis <bdavis@gcc.gnu.org> | 2006-11-15 05:10:22 +0000 |
commit | 5868cbf9922413543f1a0f3142232eff43e11f56 (patch) | |
tree | 60df5eb822d32866683ff7c963603250f4e57df4 /gcc/lambda-code.c | |
parent | 12c789666901a1e60b362e7ddd05429aa44e1554 (diff) | |
download | gcc-5868cbf9922413543f1a0f3142232eff43e11f56.zip gcc-5868cbf9922413543f1a0f3142232eff43e11f56.tar.gz gcc-5868cbf9922413543f1a0f3142232eff43e11f56.tar.bz2 |
re PR fortran/28974 (Extremely slow compilation of enumerated DATA statements.)
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.
From-SVN: r118844
Diffstat (limited to 'gcc/lambda-code.c')
0 files changed, 0 insertions, 0 deletions