* [wwwdocs,Patch] Update Fortran part in gcc-4.9/changes.html
@ 2013-06-25 11:22 Tobias Burnus
2014-06-29 17:17 ` Gerald Pfeifer
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2013-06-25 11:22 UTC (permalink / raw)
To: gcc patches, gfortran, Gerald Pfeifer
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
The attached patch updates the Fortran part of the GCC 4.9 release notes.
Comments are welcome. Otherwise, I intent to commit it soon. (Well,
comments are also welcome after committal ;-)
Tobias
[-- Attachment #2: wwwpatch.diff --]
[-- Type: text/x-patch, Size: 3606 bytes --]
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.19
diff -u -p -r1.19 changes.html
--- changes.html 25 Jun 2013 08:05:13 -0000 1.19
+++ changes.html 25 Jun 2013 11:22:14 -0000
@@ -137,12 +137,32 @@ void f(int n) {
<ul>
<li>Compatibility notice:
<ul>
- <li>Note that the argument passing ABI has changed for scalar dummy
- arguments of type <code>INTEGER</code>, <code>REAL</code>,
- <code>COMPLEX</code> and <code>LOGICAL</code>, which have
- <em>both</em> the <code>VALUE</code> and the <code>OPTIONAL</code>
- attribute.</li>
- </ul></li>
+ <li>Module files: The version of the module files (<code>.mod</code>)
+ has been incremented; additionally, module files are now compressed.
+ Fortran <code>MODULE</code>s compiled by earlier GCC versions have
+ to be recompiled, when they are <code>USE</code>d by files compiled
+ with GCC 4.9, because GCC 4.9 is not able to read <code>.mod</code>
+ files of earlier GCC versions; attempting to do so gives an error
+ message. Note: The ABI of the produced assembler data itself has not
+ changed: object files and libraries are fully compatible to older
+ versions. (Except for the next items.)</li>
+ <li>ABI changes:
+ <ul>
+ <li>Note that the <a
+ href="http://gcc.gnu.org/onlinedocs/gfortran/Argument-passing-conventions.html"
+ >argument passing ABI</a> has changed for scalar dummy
+ arguments of type <code>INTEGER</code>, <code>REAL</code>,
+ <code>COMPLEX</code> and <code>LOGICAL</code>, which have
+ <em>both</em> the <code>VALUE</code> and the <code>OPTIONAL</code>
+ attribute.</li>
+ <li>Due to the support of finalization, the virtual table associated
+ with polymorphic variables has changed. Therefore, code containing
+ <code>CLASS</code> should be recompiled, including all files which
+ define derived types involved in the type definition used by
+ polymorphic variables. (Note: Due to the incremented module version,
+ trying to mix old code with new code will usually give an error
+ message.)</li>
+ </ul></li>
<li>The deprecated command-line option <code>-fno-whole-file</code>
has been removed. (<code>-fwhole-file</code> is the default since
GCC 4.6.) <code>-fwhole-file</code>/<code>-fno-whole-file</code>
@@ -167,6 +187,21 @@ void f(int n) {
rank; contrary to <code>NO_ARG_CHECK</code> assumed-rank arguments
pass an array descriptor which contains the array shape and stride
of the argument.</li>
+ <li><a href="http://gcc.gnu.org/wiki/Fortran2003Status">Fortran 2003</a>:
+ <ul>
+ <li>Finalization is now supported. Note that finalization is currently
+ only done for a subset of the situations in which it should occur.</li>
+ </li></ul>
+ <li><a href="http://gcc.gnu.org/wiki/Fortran2008Status">Fortran 2008</a>:
+ <ul>
+ <li>When <code>STOP</code> or <code>ERROR STOP</code> is used to terminate
+ the execution and any exception (but inexact) is signaling, a warning is
+ printed to <code>ERROR_UNIT</code>, indicating which exceptions are
+ signaling. The <code><a
+ href="http://gcc.gnu.org/onlinedocs/gfortran/Debugging-Options.html"
+ >-ffpe-summary=</a></code> command-line option can be used to fine-tune
+ for which exception the warning should be shown.</li>
+ </li></ul>
</ul>
<!--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [wwwdocs,Patch] Update Fortran part in gcc-4.9/changes.html
2013-06-25 11:22 [wwwdocs,Patch] Update Fortran part in gcc-4.9/changes.html Tobias Burnus
@ 2014-06-29 17:17 ` Gerald Pfeifer
0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2014-06-29 17:17 UTC (permalink / raw)
To: Tobias Burnus; +Cc: gcc-patches, fortran
On Tue, 25 Jun 2013, Tobias Burnus wrote:
> Comments are welcome. Otherwise, I intent to commit it soon. (Well,
> comments are also welcome after committal ;-)
Since you are offering that ;-), I find the the wording "(but inexact)"
in
When <code>STOP</code> or <code>ERROR STOP</code> are used to
terminate the execution and any exception (but inexact) is signaling
a bit confusing. Any chance you can reword this somehow?
I also committed a number of editorial changes (grammar, shorter
sentences,...) per the patch below.
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.72
diff -u -r1.72 changes.html
--- changes.html 28 Jun 2014 12:37:43 -0000 1.72
+++ changes.html 29 Jun 2014 17:13:36 -0000
@@ -374,22 +374,22 @@
has been incremented; additionally, module files are now compressed.
Fortran <code>MODULE</code>s compiled by earlier GCC versions have
to be recompiled, when they are <code>USE</code>d by files compiled
- with GCC 4.9, because GCC 4.9 is not able to read <code>.mod</code>
+ with GCC 4.9. GCC 4.9 is not able to read <code>.mod</code>
files of earlier GCC versions; attempting to do so gives an error
message. Note: The ABI of the produced assembler data itself has not
- changed: object files and libraries are fully compatible to older
- versions. (Except for the next items.)</li>
+ changed: object files and libraries are fully compatible with older
+ versions (except as stated below).</li>
<li>ABI changes:
<ul>
- <li>Note that the <a
+ <li>The <a
href="https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gfortran/Argument-passing-conventions.html"
>argument passing ABI</a> has changed for scalar dummy
arguments of type <code>INTEGER</code>, <code>REAL</code>,
<code>COMPLEX</code> and <code>LOGICAL</code>, which have
<em>both</em> the <code>VALUE</code> and the <code>OPTIONAL</code>
- attribute.</li>
- <li>Due to the support of finalization, the virtual table associated
- with polymorphic variables has changed. Therefore, code containing
+ attributes.</li>
+ <li>To support finalization the virtual table associated
+ with polymorphic variables has changed. Code containing
<code>CLASS</code> should be recompiled, including all files which
define derived types involved in the type definition used by
polymorphic variables. (Note: Due to the incremented module version,
@@ -438,8 +438,8 @@
of the argument.</li>
<li><a href="https://gcc.gnu.org/wiki/Fortran2003Status">Fortran 2003</a>:
<ul>
- <li>Finalization is now supported. Note that finalization is currently
- only done for a subset of the situations in which it should occur.</li>
+ <li>Finalization is now supported. It is currently only done for a
+ subset of those situations in which it should occur.</li>
<li>Experimental support for <em>scalar</em> character components with
deferred length (i.e. allocatable string length) in derived types has
been added. (Deferred-length character variables are supported since
@@ -447,13 +447,13 @@
</ul></li>
<li><a href="https://gcc.gnu.org/wiki/Fortran2008Status">Fortran 2008</a>:
<ul>
- <li>When <code>STOP</code> or <code>ERROR STOP</code> is used to terminate
+ <li>When <code>STOP</code> or <code>ERROR STOP</code> are used to terminate
the execution and any exception (but inexact) is signaling, a warning is
printed to <code>ERROR_UNIT</code>, indicating which exceptions are
signaling. The <code><a
href="https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gfortran/Debugging-Options.html"
>-ffpe-summary=</a></code> command-line option can be used to fine-tune
- for which exception the warning should be shown.</li>
+ for which exceptions the warning should be shown.</li>
<li>Rounding on input (<code>READ</code>) is now handled on systems where
<code>strtod</code> honours the rounding mode. (For output, rounding is
supported since GCC 4.5.) Note that for input, the
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-29 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 11:22 [wwwdocs,Patch] Update Fortran part in gcc-4.9/changes.html Tobias Burnus
2014-06-29 17:17 ` Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).