Patchwork [wwwdocs] List new Fortran options under Fortran section

login
register
mail settings
Submitter Steve Kargl
Date Jan. 18, 2012, 6:08 p.m.
Message ID <20120118180843.GA85742@troutmask.apl.washington.edu>
Download mbox | patch
Permalink /patch/136672/
State New
Headers show

Comments

Steve Kargl - Jan. 18, 2012, 6:08 p.m.
The attached patch documents the new Fortran options
-freal-N-real-M and -finteger-4-integer-8.  These
options are used for promoting all entities of the 
first type to entities of the second type.

OK to commit?

PS: Is there a ChangeLog file for the wwwdoc repository?
Tobias Burnus - Jan. 18, 2012, 9:48 p.m.
Steve Kargl wrote:
> The attached patch documents the new Fortran options
> -freal-N-real-M and -finteger-4-integer-8.  These
> options are used for promoting all entities of the
> first type to entities of the second type.
>
> OK to commit?

Looks OK to me. Though, I had made the N and M italic at:

+<code>-freal-N-real-M</code></a>  have been added.  These options promote
and
+<code>N</code>  and<code>M</code>  can be 4 and 8 and, if available,


> PS: Is there a ChangeLog file for the wwwdoc repository?

No, there is no ChangeLog - and due to using CVS, the commit message 
(may but) does not need to contain file name as cvs saves the log per file.

Tobias
Gerald Pfeifer - Jan. 23, 2012, 4 a.m.
On Wed, 18 Jan 2012, Tobias Burnus wrote:
> Looks OK to me. Though, I had made the N and M italic at:

> +<code>-freal-N-real-M</code></a>  have been added.  These options promote
> and
> +<code>N</code>  and<code>M</code>  can be 4 and 8 and, if available,

Something like

  <code>-freal-<em>N</em>-real-<em>M</em></code></a> have been added.  
  These options promote and <em>N</em> and <em>M</em> can be 4 and 8
  and, if available...

?  Yes, that would be nice.

> No, there is no ChangeLog - and due to using CVS, the commit message 
> (may but) does not need to contain file name as cvs saves the log per 
> file.

Yep.  Just something like
  Document -freal-N-real-M and -finteger-4-integer-8.
would be fine.  If you prefer a changelog entry like we do for code,
that's fine as well, though. :-)

Gerald

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.74
diff -c -p -r1.74 changes.html
*** changes.html	16 Jan 2012 08:39:01 -0000	1.74
--- changes.html	18 Jan 2012 18:05:27 -0000
*************** well.</p></li>
*** 421,426 ****
--- 421,439 ----
  
  <h3 id="fortran">Fortran</h3>
    <ul>
+     <li>The compile options <a
+       href="http://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#Fortran-Dialect-Options>
+       <code>-freal-N-real-M</code></a> have been added.  These options promote
+       all entities on type <code>REAL(N)</code> to <code>REAL(M)</code>, where
+       <code>N</code> and <code>M</code> can be 4 and 8 and, if available,
+       10 and 16.
+     </li>
+     <li> The compile option <a
+       href="http://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#Fortran-Dialect-Options>
+       <code>-finteger-4-integer-8</code></a> has been added.  This option
+       promotes all entities of type <code>INTEGER(4)</code> to
+       <code>INTEGER(8)</code>.
+     </li>
      <li>The compile flag <a
        href="http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfstack_002darrays_007d-254"
        ><code>-fstack-arrays</code></a> has been added, which causes