https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69352
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Jan 19 13:19:01 2016 New Revision: 232557 URL: https://gcc.gnu.org/viewcvs?rev=232557&root=gcc&view=rev Log: 2016-01-19 Richard Biener <rguent...@suse.de> PR tree-optimization/69352 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1. (equal_mem_array_ref_p): Constrain size and max size properly. Compare the reverse flag. * gcc.dg/torture/pr69352.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr69352.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-scopedtables.c