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
This commit is contained in:
Sebastian Pop 2011-02-01 18:38:31 +00:00 committed by Sebastian Pop
parent 72660097ec
commit 199c8f2f38
2 changed files with 12 additions and 2 deletions

View 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.

View 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