diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2011-02-01 18:38:31 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2011-02-01 18:38:31 +0000 |
commit | 199c8f2f382317a77b3cd7ab13afae5290964526 (patch) | |
tree | c4b3503143ce1f9a60d89a52e8bf02a5da6a3c4a /gcc | |
parent | 72660097ec107807e54b72a6d9e778260d90f199 (diff) | |
download | gcc-199c8f2f382317a77b3cd7ab13afae5290964526.zip gcc-199c8f2f382317a77b3cd7ab13afae5290964526.tar.gz gcc-199c8f2f382317a77b3cd7ab13afae5290964526.tar.bz2 |
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.
From-SVN: r169496
Diffstat (limited to 'gcc')
-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 a553bba..e5c4b37 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 78985cb..082c842 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 |