https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90328
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon May 6 12:38:35 2019 New Revision: 270906 URL: https://gcc.gnu.org/viewcvs?rev=270906&root=gcc&view=rev Log: 2019-05-06 Richard Biener <rguent...@suse.de> PR tree-optimization/90328 * tree-data-ref.h (dr_may_alias_p): Pass in the actual loop nest. * tree-data-ref.c (dr_may_alias_p): Check whether the clique is valid in the loop nest before using it. (initialize_data_dependence_relation): Adjust. * graphite-scop-detection.c (build_alias_set): Pass the SCOP enclosing loop as loop-nest to dr_may_alias_p. * gcc.dg/torture/pr90328.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr90328.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite-scop-detection.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-data-ref.c trunk/gcc/tree-data-ref.h