diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-01 18:38:31 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-01 18:38:31 +0000 |
commit | 63c5b29fb932af0fac5e3e738b7a7ac13d49346c (patch) | |
tree | c4b3503143ce1f9a60d89a52e8bf02a5da6a3c4a | |
parent | b4c1ff3921c17a27dfa660b2c80619c151ef88e9 (diff) | |
download | gcc-63c5b29fb932af0fac5e3e738b7a7ac13d49346c.tar.gz |
Fix PR47561: print the Graphite flags.
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169496 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/toplev.c | 8 |
2 files changed, 12 insertions, 2 deletions
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 <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. 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 |