From 4c82aa3b6a02f2b66f2b9144e8f72f2e4261ce9b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 22 Jan 2019 11:28:56 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/graphite-scop-detection.c | 4 ++++ 2 files changed, 10 insertions(+) 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; } -- 2.30.2