re PR tree-optimization/88862 (ICE in extract_affine, at graphite-sese-to-poly.c...
authorRichard Biener <rguenther@suse.de>
Tue, 22 Jan 2019 11:28:56 +0000 (11:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 Jan 2019 11:28:56 +0000 (11:28 +0000)
2019-01-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88862
* graphite-scop-detection.c
(scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR.

From-SVN: r268147

gcc/ChangeLog
gcc/graphite-scop-detection.c

index 083f06f19341a8c4456a74394d79983c10f37348..4627efc3165c7d1e47d6ab90fb42a3beab86fdd8 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-22  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/88862
+       * graphite-scop-detection.c
+       (scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR.
+
 2019-01-22  Andrew Stubbs  <ams@codesourcery.com>
 
        * doc/extend.tex (AMD GCN Function Attributes): New section.
index 5f63bceb41d6f3e4e417f0094e92c9cddc43ca96..57d3b4806c8a78a3d20e634cc51dcf96a401ef3d 100644 (file)
@@ -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;
     }