This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] Update Fortran secrion in 4.8/changes.html
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Tobias Burnus <burnus at net-b dot de>, gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 20 Aug 2012 13:05:31 +0200 (CEST)
- Subject: Re: [wwwdocs] Update Fortran secrion in 4.8/changes.html
- References: <502A5A1F.5050607@net-b.de>
On Tue, 14 Aug 2012, Tobias Burnus wrote:
> I have committed the patch as obvious, however, I am happy for any
> comments.
I went ahead and made some smaller changes, patch below.
I noticed you are using <q>...</q>, as in <q><code>e</code></q>,
which we usually don't. Why that?
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.15
diff -u -3 -p -r1.15 changes.html
--- changes.html 19 Aug 2012 19:48:02 -0000 1.15
+++ changes.html 20 Aug 2012 10:32:20 -0000
@@ -92,18 +92,20 @@ by this change.</p>
(re)allocation in hot loops. (For arrays, replacing <q><code>var=</code></q>
by <q><code>var(:)=</code></q> disables the automatic reallocation.)</li>
- <li>Reading floating point numbers which use <q><code>q</code></q> for the
- exponential (such as <code>4.0q0</code>) is now supported as vendor
+ <li><p>Reading floating point numbers which use <q><code>q</code></q> for
+ the exponential (such as <code>4.0q0</code>) is now supported as vendor
extension for better compatibility with old data files. It is strongly
recommended to use for I/O the equivalent but standard conforming
- <q><code>e</code></q> (such as <code>4.0e0</code>). [For the Fortran
+ <q><code>e</code></q> (such as <code>4.0e0</code>).</p>
+
+ <p>(For Fortran
source code, consider replacing the <q><code>q</code></q> in
floating-point literals by a kind parameter (e.g. <code>4.0e0_qp</code>
- with a suitable <code>qp</code>). Note that – in the Fortran
+ with a suitable <code>qp</code>). Note that – in Fortran
source code – replacing <q><code>q</code></q> by a simple
- <q><code>e</code></q> is <em>not</em> equivalent.]</li>
+ <q><code>e</code></q> is <em>not</em> equivalent.)</p></li>
- <li>The <code>GFORTRAN_TMPDIR</code> environment variable, for specifying
+ <li>The <code>GFORTRAN_TMPDIR</code> environment variable for specifying
a non-default directory for files opened with <code>STATUS="SCRATCH"</code>,
is not used anymore. Instead gfortran checks the POSIX/GNU standard
<code>TMPDIR</code> environment variable. If <code>TMPDIR</code> is not