[PATCH 2/4] Equate MEM_REFs and ARRAY_REFs in tree-ssa-scopedtables.c

H.J. Lu hjl.tools@gmail.com
Tue Jan 19 03:05:00 GMT 2016


On Thu, Dec 24, 2015 at 3:55 AM, Alan Lawrence <alan.lawrence@arm.com> 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.
>

This caused:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69352

-- 
H.J.



More information about the Gcc-patches mailing list