Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard. 2019-01-22 Richard Biener <rguent...@suse.de> PR tree-optimization/88862 * graphite-scop-detection.c (scop_detection::graphite_can_represent_scev): Reject ADDR_EXPR. Index: gcc/graphite-scop-detection.c =================================================================== --- gcc/graphite-scop-detection.c (revision 268140) +++ gcc/graphite-scop-detection.c (working copy) @@ -892,6 +892,10 @@ scop_detection::graphite_can_represent_s return false; return graphite_can_represent_scev (scop, CHREC_LEFT (scev)); + case ADDR_EXPR: + /* We cannot encode addresses for ISL. */ + return false; + default: break; }