[Patch, gcc-wwdocs] Update to Fortran changes

Gerald Pfeifer gerald@pfeifer.com
Thu Nov 28 23:48:00 GMT 2019


On Tue, 26 Nov 2019, Mark Eggleston wrote:
> Second attempt this time with attachment.

>From f884924877ba84578e75bd16cb127bab33eb5ee6 Mon Sep 17 00:00:00 2001
From: Mark Eggleston <markeggleston@codethink.com>
Date: Tue, 26 Nov 2019 10:12:44 +0000
Subject: [PATCH] Update Fortran changes

+      <li>
+        A blank format item at the end of a format specification i.e. nothing
+        following the final comma is allowed.  Use the option
+        <code>-fdec-blank-format-item</code>, this options is implied with
+        <code>-fdec</code>.
+      </li>

The second sentence is a bit confusing.  "Use the option" ... "this
option is implied"?

When/why to use this option?

How does the implication come into play?

In any case "this option is" (singular)

Same below.


I have applied the patch below for now to address some of the above;
please feel free to go ahead with further changes.

Thanks,
Gerald


diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index de550813..f0f0d312 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -219,21 +219,21 @@ a work-in-progress.</p>
       <li>
         A blank format item at the end of a format specification, i.e. nothing
         following the final comma, is allowed.  Use the option
-        <code>-fdec-blank-format-item</code>, this options is implied with
+        <code>-fdec-blank-format-item</code>; this option is implied with
         <code>-fdec</code>.
       </li>
       <li>
         The existing support for <code>AUTOMATIC</code> and <code>STATIC</code>
         attributes has been extended to allow variables with the
         <code>AUTOMATIC</code> attribute to be used in <code>EQUIVALENCE</code>
-        statements. Use <code>-fdec-static</code>, this option is implied by
+        statements. Use <code>-fdec-static</code>; this option is implied by
         <code>-fdec</code>.
       </li>
       <li>
         Allow character literals in assignments and <code>DATA</code> statements
         for numeric (<code>INTEGER</code>, <code>REAL</code>, or
         <code>COMPLEX</code>) or <code>LOGICAL</code> variables.  Use the option
-        <code>-fdec-char-conversions</code>, this options is implied with
+        <code>-fdec-char-conversions</code>; this option is implied with
         <code>-fdec</code>.
       </li>
       <li>



More information about the Gcc-patches mailing list