Fix PR47561: print the Graphite flags.
authorSebastian Pop <sebastian.pop@amd.com>
Tue, 1 Feb 2011 18:38:31 +0000 (18:38 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Tue, 1 Feb 2011 18:38:31 +0000 (18:38 +0000)
2011-02-01  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/47561
* toplev.c (process_options): Print the Graphite flags.  Add
flag_loop_flatten to the list of options requiring Graphite.

From-SVN: r169496

gcc/ChangeLog
gcc/toplev.c

index a553bba3ae1ae3a4eb414c44c12bc9116f9551ba..e5c4b3797aba2eae0489a0430f487e98f4c995f1 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-01  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/47561
+       * toplev.c (process_options): Print the Graphite flags.  Add
+       flag_loop_flatten to the list of options requiring Graphite.
+
 2011-02-01  Joseph Myers  <joseph@codesourcery.com>
 
        * config/i386/cygming.opt (posix): New Driver option.
index 78985cbbfc872a548be29e7289599d948e88de7d..082c842139dbc85587dfc8c6bc02d7fcef91832f 100644 (file)
@@ -1314,12 +1314,16 @@ process_options (void)
 
 #ifndef HAVE_cloog
   if (flag_graphite
+      || flag_graphite_identity
       || flag_loop_block
+      || flag_loop_flatten
       || flag_loop_interchange
       || flag_loop_strip_mine
-      || flag_graphite_identity
       || flag_loop_parallelize_all)
-    sorry ("Graphite loop optimizations cannot be used");
+    sorry ("Graphite loop optimizations cannot be used (-fgraphite, "
+          "-fgraphite-identity, -floop-block, -floop-flatten, "
+          "-floop-interchange, -floop-strip-mine, -floop-parallelize-all, "
+          "and -ftree-loop-linear)");
 #endif
 
   /* Unrolling all loops implies that standard loop unrolling must also