From 124663e416ec3e505fd88b099313a3e04106f169 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 27 Aug 2015 21:59:06 +0000 Subject: [PATCH] fix compile without ISL * toplev.c (process_options): Do not use flag_loop_block, flag_loop_interchange, and flag_loop_strip_mine. Add check for flag_loop_optimize_isl. From-SVN: r227282 --- gcc/ChangeLog | 6 ++++++ gcc/toplev.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 189234a3a34..d77e4425cd3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-08-27 Sebastian Pop + + * toplev.c (process_options): Do not use flag_loop_block, + flag_loop_interchange, and flag_loop_strip_mine. Add check for + flag_loop_optimize_isl. + 2015-08-27 Sebastian Pop * Makefile.in (OBJS): Remove graphite-blocking.o and diff --git a/gcc/toplev.c b/gcc/toplev.c index 39967d0b298..926224a4c20 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1316,10 +1316,8 @@ process_options (void) #ifndef HAVE_isl if (flag_graphite + || flag_loop_optimize_isl || flag_graphite_identity - || flag_loop_block - || flag_loop_interchange - || flag_loop_strip_mine || flag_loop_parallelize_all) sorry ("Graphite loop optimizations cannot be used (ISL is not available)" "(-fgraphite, -fgraphite-identity, -floop-block, " -- 2.30.2