On 12/24/2015 04:55 AM, Alan Lawrence wrote:
This version changes the test cases to fix failures on some platforms, by
rewriting the initializers so that they aren't pushed out to the constant pool.

gcc/ChangeLog:

        * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
        using get_ref_base_and_extent.
        (equal_mem_array_ref_p): New.
        (hashable_expr_equal_p): Add call to previous.

gcc/testsuite/ChangeLog:

        * gcc.dg/tree-ssa/ssa-dom-cse-5.c: New.
        * gcc.dg/tree-ssa/ssa-dom-cse-6.c: New.
        * gcc.dg/tree-ssa/ssa-dom-cse-7.c: New.
This is fine.

Thanks,
Jeff

Reply via email to