re PR tree-optimization/15982 (ICE in tree-ssa-pre due to GVN-PRE)
authorDaniel Berlin <dberlin@dberlin.org>
Mon, 21 Jun 2004 21:57:33 +0000 (21:57 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Mon, 21 Jun 2004 21:57:33 +0000 (21:57 +0000)
commit56db793abf585246272c17b3e1079024c2bd1deb
tree0cb1d88a086a676f6a202fc50757014d308ce347
parent8bc527afe92d96fd31972cfa4362cc1023e523e9
re PR tree-optimization/15982 (ICE in tree-ssa-pre due to GVN-PRE)

2004-06-21  Daniel Berlin  <dberlin@dberlin.org>

    Fix PR optimization/15982
    * tree-ssa-pre.c: Update a few comments and todos to
    reflect constants change.
    (get_value_handle): Constants now value number to themselves.
    (lookup): Constants lookup to themselves.
    (add_to_value): Adjust to always be on.
    (set_contains_value): Adjust for constants change.
    (find_leader): Ditto.
    (phi_translate): 'r' nodes are never ANTIC right now.
    (valid_in_set): Ditto.
    (get_expr_set): New function.
    (find_or_generate_expression): New function, broken out from
    insert_aux.
    (create_expression_by_pieces): Ditto, plus additional
    machinery to handle complex values.
    (compute_avail): Remove dead RETURN_EXPR handling.

From-SVN: r83453
gcc/ChangeLog
gcc/tree-ssa-pre.c