diff options
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r-- | gcc/tree-ssa-loop.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 0aab6d3a2d3..cac6d6d35cd 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "tree-inline.h" #include "tree-scalar-evolution.h" +#include "toplev.h" #include "tree-vectorizer.h" /* The loop superpass. */ @@ -307,9 +308,12 @@ gate_graphite_transforms (void) /* Enable -fgraphite pass if any one of the graphite optimization flags is turned on. */ if (flag_loop_block || flag_loop_interchange || flag_loop_strip_mine - || flag_graphite_identity) + || flag_graphite_identity || flag_graphite_force_parallel) flag_graphite = 1; + if (flag_loop_block) + sorry ("loop blocking not implemented"); + return flag_graphite != 0; } |