On Mon, 19 Nov 2012, Tobias Burnus wrote:
>> There is one sentence (preceding my patch) which I don't quite
>> understand (specifically around the "to"):
>> 
>>    "...which diagnose when code to is inserted for automatic
>>    (re)allocation of a variable during assignment."
> Let me try to explain what the warning does and what "automatic
> (re)allocation" is; either the meaning becomes clear – or you might get an
> idea how to improve the wording.
> 
> But I concur that the current version is odd; it should either be "when code
> is [or: "will be"] inserted" or, maybe, "when code is to be inserted".

Thanks for the explanation, Tobias.  That was very helpful.

Now that I understand things better, I went ahead and applied the
following minimal patch (per your suggestion).

Gerald

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.132
diff -u -r1.132 changes.html
--- changes.html        8 Apr 2015 10:33:06 -0000       1.132
+++ changes.html        20 Apr 2015 08:24:33 -0000
@@ -372,7 +372,7 @@
     <li>The <a
     
href="https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html";>
     <code>-Wrealloc-lhs</code></a> and <code>-Wrealloc-lhs-all</code> warning
-    command-line options have been added, which diagnose when code to is
+    command-line options have been added, which diagnose when code is
     inserted for automatic (re)allocation of a variable during assignment.
     This option can be used to decide whether it is safe to use <code><a
     href="https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html";>

Reply via email to