re PR tree-optimization/16383 (internal compiler error: in generate_element_copy...
authorRichard Henderson <rth@redhat.com>
Sun, 11 Jul 2004 17:41:52 +0000 (10:41 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 11 Jul 2004 17:41:52 +0000 (10:41 -0700)
commitfa27426eb1377c2a9e23f58424b4da5497e78c8d
tree2934106e3d3e6eaac5aa3e9c20bb96aa1aaada5f
parent71956db351f1941cf9ebaf35130163832a93478e
re PR tree-optimization/16383 (internal compiler error: in generate_element_copy, at tree-sra.c:1466)

        PR tree-opt/16383
        * tree-ssa-ccp.c (fold_stmt_r): Split out...
        * tree.c (fields_compatible_p, find_compatible_field): ... new.
        * tree.h (fields_compatible_p, find_compatible_field): Declare.
        * tree-sra.c (sra_hash_tree): Hash fields by offset.
        (sra_elt_eq): Use fields_compatible_p.
        (generate_one_element_ref): Use find_compatible_field.

From-SVN: r84524
gcc/ChangeLog
gcc/tree-sra.c
gcc/tree-ssa-ccp.c
gcc/tree.c
gcc/tree.h