From: Richard Biener Date: Tue, 22 Jan 2019 11:28:56 +0000 (+0000) Subject: re PR tree-optimization/88862 (ICE in extract_affine, at graphite-sese-to-poly.c... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c82aa3b6a02f2b66f2b9144e8f72f2e4261ce9b;p=gcc.git re PR tree-optimization/88862 (ICE in extract_affine, at graphite-sese-to-poly.c:313) 2019-01-22 Richard Biener PR tree-optimization/88862 * graphite-scop-detection.c (scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR. From-SVN: r268147 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 083f06f1934..4627efc3165 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-01-22 Richard Biener + + PR tree-optimization/88862 + * graphite-scop-detection.c + (scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR. + 2019-01-22 Andrew Stubbs * doc/extend.tex (AMD GCN Function Attributes): New section. diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 5f63bceb41d..57d3b4806c8 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -892,6 +892,10 @@ scop_detection::graphite_can_represent_scev (sese_l scop, tree scev) return false; return graphite_can_represent_scev (scop, CHREC_LEFT (scev)); + case ADDR_EXPR: + /* We cannot encode addresses for ISL. */ + return false; + default: break; }