This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs, patch] gcc-4.9/changes.html: Add quip about "#pragma GCC ivdep" and update Fortran section


Hi Tobias,

On Thu, 24 Oct 2013, Tobias Burnus wrote:
Any comments? Or is the patch OK?

thanks for doing this.

Index: htdocs/gcc-4.9/changes.html
===================================================================
+    <li>With the new <a
+    href="http://gcc.gnu.org/onlinedocs/gcc/Loop_002dSpecific-Pragmas.html";
+    ><code>#pragma GCC ivdep</code></a>, the user can assert that there are no
+    loop-carried dependencies which would prevent that consecutive iterations of
+    the following loop can be executed concurrently with SIMD (single instruction
+    multiple data) instructions.</li>

That would flow a bit nicer if you say "...prevent concurrent execution of consecutive iterations using..." or something like that, I believe?
+        allocatable components of variables declared in the main program. The
+        Fortran standard states since 2008 explicitly that variables declared
+        in the Fortran main program automatically have the <code>SAVE</code>
+        attribute.</li>

How about "Since 2008 the Fortran standard..." or "Fortran 2008 and later standards..." ?

+      about <code>DO</code> loops with zero iterations.  This warning is now

Good catch!

The patch looks good if you consider my comments (which is not necessarily the same as following all of them ;-).

Gerald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]