diff mbox series

Fix PR88862

Message ID alpine.LSU.2.20.1901221227430.23386@zhemvz.fhfr.qr
State New
Headers show
Series Fix PR88862 | expand

Commit Message

Richard Biener Jan. 22, 2019, 11:28 a.m. UTC
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

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.
diff mbox series

Patch

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