Patchwork [documentation] Document -floop-flatten as experimental

login
register
mail settings
Submitter Thomas Koenig
Date Feb. 28, 2012, 8:25 a.m.
Message ID <4F4C8F66.3090906@netcologne.de>
Download mbox | patch
Permalink /patch/143372/
State New
Headers show

Comments

Thomas Koenig - Feb. 28, 2012, 8:25 a.m.
Hello world,

the attached patch documents -floop-flatten as unsafe (see the PR).
Tested with 'make dvi', 'make info' and 'make pdf'.  I'd like to
get this into the 4.7 release.

OK for trunk?

	Thomas

2012-02-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR tree-optimization/53207
         * doc/invoke.texi:  Document -floop-flatten as experimental
         and mention that it can lead to wrong code.

Patch

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(Revision 184585)
+++ doc/invoke.texi	(Arbeitskopie)
@@ -7290,7 +7290,8 @@ 
 @opindex floop-flatten
 Removes the loop nesting structure: transforms the loop nest into a
 single loop.  This transformation can be useful to vectorize all the
-levels of the loop nest.
+levels of the loop nest.  @emph{This feature is experimental and may
+cause wrong code to be generated.}
 
 @item -floop-parallelize-all
 @opindex floop-parallelize-all