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 083f06f..4627efc 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 5f63bce..57d3b48 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;
     }