From: Sebastian Pop Date: Tue, 1 Feb 2011 18:38:31 +0000 (+0000) Subject: Fix PR47561: print the Graphite flags. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=199c8f2f382317a77b3cd7ab13afae5290964526;p=gcc.git Fix PR47561: print the Graphite flags. 2011-02-01 Sebastian Pop 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a553bba3ae1..e5c4b3797ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-02-01 Sebastian Pop + + 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 * config/i386/cygming.opt (posix): New Driver option. diff --git a/gcc/toplev.c b/gcc/toplev.c index 78985cbbfc8..082c842139d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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