aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-05-06 12:38:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-05-06 12:38:35 +0000
commit1d0b81c64c05f40b94bd221558d0339c732d8cc4 (patch)
treef8264b89d277701f04c4d39df3c9cfbbb60354bd /gcc/tree-data-ref.h
parentb744fc85f549534bcbc36dedcc1659c02e16c617 (diff)
downloadgcc-1d0b81c64c05f40b94bd221558d0339c732d8cc4.zip
gcc-1d0b81c64c05f40b94bd221558d0339c732d8cc4.tar.gz
gcc-1d0b81c64c05f40b94bd221558d0339c732d8cc4.tar.bz2
re PR tree-optimization/90328 (Wrong loop distribution with aliasing)
2019-05-06 Richard Biener <rguenther@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. From-SVN: r270906
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r--gcc/tree-data-ref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h
index ab44d07..69d5a82 100644
--- a/gcc/tree-data-ref.h
+++ b/gcc/tree-data-ref.h
@@ -473,7 +473,7 @@ dr_alignment (data_reference *dr)
}
extern bool dr_may_alias_p (const struct data_reference *,
- const struct data_reference *, bool);
+ const struct data_reference *, struct loop *);
extern bool dr_equal_offsets_p (struct data_reference *,
struct data_reference *);