]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2019-01-22 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2019 11:28:56 +0000 (11:28 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jan 2019 11:28:56 +0000 (11:28 +0000)
PR tree-optimization/88862
* graphite-scop-detection.c
(scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268147 138bc75d-0d04-0410-961f-82ee72b054a4

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;
     }