[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/35659] [4.3/4.4 Regression] Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64




------- Comment #28 from bonzini at gnu dot org  2009-02-06 07:33 -------
Subject: Bug 35659

Author: bonzini
Date: Fri Feb  6 07:33:05 2009
New Revision: 143980

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143980
Log:
2009-02-06  Paolo Bonzini  <bonzini@gnu.org>

        PR tree-optimization/35659
        * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
        vn_phi_eq): Shortcut if hashcode does not match.
        (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
        NULL operands.
        * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
        and avoid iterative_hash_expr.
        (FOR_EACH_VALUE_ID_IN_SET): New.
        (value_id_compare): Remove.
        (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
        sort expressions by value id.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-pre.c
    trunk/gcc/tree-ssa-sccvn.c


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: