* [Patch, gcc-wwdocs] Update to Fortran changes
@ 2019-11-26 10:48 Mark Eggleston
2019-11-26 11:33 ` Tobias Burnus
2019-11-28 20:12 ` Making things a bit easier (was: [Patch, gcc-wwdocs] Update to Fortran changes) Gerald Pfeifer
0 siblings, 2 replies; 12+ messages in thread
From: Mark Eggleston @ 2019-11-26 10:48 UTC (permalink / raw)
To: gcc-patches, fortran, gerald
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
I've check the changes with W3 validator. There are no problems related
to my changes, however, it does object to the lack of character encoding
in the file. My knowledge of HTML is limited, so don't know how to fix that.
This is the first time in changing the wwwdoc, I haven't included a
change log as there there doesn't appear to be any ChangeLog files.
The patch is attached. OK to commit?
--
https://www.codethink.co.uk/privacy.html
[-- Attachment #2: 0001-Update-Fortran-changes.patch --]
[-- Type: text/x-patch, Size: 2207 bytes --]
From 2090a5d6d2e96c2a99094cd0a5f5d6e5c5bd3409 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
---
htdocs/gcc-10/changes.html | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 52eb303..81f2280 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -206,6 +206,40 @@ a work-in-progress.</p>
with <code>-std=legacy</code>. <code>-Wargument-mismatch</code>
has been removed.
</li>
+ <li>
+ Default fields widths can be used for <code>I</code>, <code>F</code>
+ and <code>G</code> format specifiers when excplicit widths are omitted.
+ Use the option <code>-fdec-format-defaults</code>, this options is implied
+ with <code>-fdec</code>.
+ </li>
+ <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>
+ <li>
+ Variables with the <code>AUTOMATIC</code> attribute can be used in
+ <code>EQUIVALENCE</code> statements.
+ </li>
+ <li>
+ Character type names in errors and warnings now include <code>len</code>
+ in addition to <code>kind</code>, <code>*</code> is used for assumed
+ length. The kind is omitted if it the default kind. Examples:
+ <code>CHARACTER(12)</code>, <code>CHARACTER(6,4)</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</code>.
+ </li>
+ <li>
+ DEC comparisons, i.e. allow Hollerith constants to be used in comparisons
+ with <code>INTEGER</code>, <code>REAL</code>, <code>COMPLEX</code> and
+ <code>CHARACTER</code> expressions. Use the option <code>-fdec</code>.
+ </li>
</ul>
<!-- <h3 id="go">Go</h3> -->
--
1.8.3.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 10:48 [Patch, gcc-wwdocs] Update to Fortran changes Mark Eggleston
@ 2019-11-26 11:33 ` Tobias Burnus
2019-11-26 16:29 ` Mark Eggleston
2019-11-27 8:08 ` Janne Blomqvist
2019-11-28 20:12 ` Making things a bit easier (was: [Patch, gcc-wwdocs] Update to Fortran changes) Gerald Pfeifer
1 sibling, 2 replies; 12+ messages in thread
From: Tobias Burnus @ 2019-11-26 11:33 UTC (permalink / raw)
To: Mark Eggleston, gcc-patches, fortran, gerald
Hi Mark,
On 11/26/19 11:46 AM, Mark Eggleston wrote:
> I've check the changes with W3 validator. There are no problems
> related to my changes, however, it does object to the lack of
> character encoding in the file.
Note that some script modifies the file a bit â the final file does have
a character encoding (content="text/html; charset=utf-8").
> This is the first time in changing the wwwdoc, I haven't included a
> change log as there there doesn't appear to be any ChangeLog files.
There is only a commit log (see 'git log'); the format is still a bit in
a flux as before there was only 'csv' where it applied to a single file.
[With git it is useful to have a meaningful single line (for "git log
--pretty=oneline") and, if needed, an empty line and something more. As
the main repository is going to move to GIT as well, this also applies
there. â But you already follow this style.]
> The patch is attached. OK to commit?
I wonder whether you should use a main bullet point with something like
"Legacy improvements (<code>-fdec</code>)" under which you put the
current list. [Or some other wording.] That makes it easier to read for
users â those, who care about legacy support, can quickly look at the
-fdec changes â while those interested in standard Fortran can skip it.
(Except for the character-diagnostic type-info improvement, all are
items seem to be for -fdec or -fdec-â¦)
In particular, currently, the following item does not make clear that it
is about legacy support: "Variables with the <code>AUTOMATIC</code>
attribute can be used in <code>EQUIVALENCE</code> statements."
I think it can remain as is with the -fdec umbrella item. But without it
really requires the background knowledge that the AUTOMATIC attribute is
only available with -fdec-static (or -fdec).
Cheers,
Tobias
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 11:33 ` Tobias Burnus
@ 2019-11-26 16:29 ` Mark Eggleston
2019-11-26 18:48 ` Mark Eggleston
2019-11-27 8:08 ` Janne Blomqvist
1 sibling, 1 reply; 12+ messages in thread
From: Mark Eggleston @ 2019-11-26 16:29 UTC (permalink / raw)
To: Tobias Burnus, gcc-patches, fortran, gerald
On 26/11/2019 11:12, Tobias Burnus wrote:
> Hi Mark,
>
> On 11/26/19 11:46 AM, Mark Eggleston wrote:
>> I've check the changes with W3 validator. There are no problems
>> related to my changes, however, it does object to the lack of
>> character encoding in the file.
>
> Note that some script modifies the file a bit â the final file does
> have a character encoding (content="text/html; charset=utf-8").
Understood.
>
>> This is the first time in changing the wwwdoc, I haven't included a
>> change log as there there doesn't appear to be any ChangeLog files.
>
> There is only a commit log (see 'git log'); the format is still a bit
> in a flux as before there was only 'csv' where it applied to a single
> file.
>
> [With git it is useful to have a meaningful single line (for "git log
> --pretty=oneline") and, if needed, an empty line and something more.
> As the main repository is going to move to GIT as well, this also
> applies there. â But you already follow this style.]
>
>> The patch is attached. OK to commit?
>
> I wonder whether you should use a main bullet point with something
> like "Legacy improvements (<code>-fdec</code>)" under which you put
> the current list. [Or some other wording.] That makes it easier to
> read for users â those, who care about legacy support, can quickly
> look at the -fdec changes â while those interested in standard Fortran
> can skip it. (Except for the character-diagnostic type-info
> improvement, all are items seem to be for -fdec or -fdec-â¦)
Used "Legacy extension:".
>
> In particular, currently, the following item does not make clear that
> it is about legacy support: "Variables with the <code>AUTOMATIC</code>
> attribute can be used in <code>EQUIVALENCE</code> statements."
Made it clear that this an extension of -fdec-static.
>
> I think it can remain as is with the -fdec umbrella item. But without
> it really requires the background knowledge that the AUTOMATIC
> attribute is only available with -fdec-static (or -fdec).
Stated that -fdec-static or -fdec are needed to use AUTOMATIC in
EQUIVALENCE.
>
> Cheers,
>
> Tobias
>
>
Changes acceptable? OK to commit?
--
https://www.codethink.co.uk/privacy.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 16:29 ` Mark Eggleston
@ 2019-11-26 18:48 ` Mark Eggleston
2019-11-27 9:03 ` Tobias Burnus
2019-11-28 23:48 ` Gerald Pfeifer
0 siblings, 2 replies; 12+ messages in thread
From: Mark Eggleston @ 2019-11-26 18:48 UTC (permalink / raw)
To: Tobias Burnus, gcc-patches, fortran, gerald
[-- Attachment #1: Type: text/plain, Size: 2408 bytes --]
Second attempt this time with attachment.
Apologies.
regards,
Mark
On 26/11/2019 15:56, Mark Eggleston wrote:
>
> On 26/11/2019 11:12, Tobias Burnus wrote:
>> Hi Mark,
>>
>> On 11/26/19 11:46 AM, Mark Eggleston wrote:
>>> I've check the changes with W3 validator. There are no problems
>>> related to my changes, however, it does object to the lack of
>>> character encoding in the file.
>>
>> Note that some script modifies the file a bit â the final file does
>> have a character encoding (content="text/html; charset=utf-8").
> Understood.
>>
>>> This is the first time in changing the wwwdoc, I haven't included a
>>> change log as there there doesn't appear to be any ChangeLog files.
>>
>> There is only a commit log (see 'git log'); the format is still a bit
>> in a flux as before there was only 'csv' where it applied to a single
>> file.
>>
>> [With git it is useful to have a meaningful single line (for "git log
>> --pretty=oneline") and, if needed, an empty line and something more.
>> As the main repository is going to move to GIT as well, this also
>> applies there. â But you already follow this style.]
>>
>>> The patch is attached. OK to commit?
>>
>> I wonder whether you should use a main bullet point with something
>> like "Legacy improvements (<code>-fdec</code>)" under which you put
>> the current list. [Or some other wording.] That makes it easier to
>> read for users â those, who care about legacy support, can quickly
>> look at the -fdec changes â while those interested in standard
>> Fortran can skip it. (Except for the character-diagnostic type-info
>> improvement, all are items seem to be for -fdec or -fdec-â¦)
> Used "Legacy extension:".
>>
>> In particular, currently, the following item does not make clear that
>> it is about legacy support: "Variables with the
>> <code>AUTOMATIC</code> attribute can be used in
>> <code>EQUIVALENCE</code> statements."
> Made it clear that this an extension of -fdec-static.
>>
>> I think it can remain as is with the -fdec umbrella item. But without
>> it really requires the background knowledge that the AUTOMATIC
>> attribute is only available with -fdec-static (or -fdec).
>
> Stated that -fdec-static or -fdec are needed to use AUTOMATIC in
> EQUIVALENCE.
>
>>
>> Cheers,
>>
>> Tobias
>>
>>
> Changes acceptable? OK to commit?
>
--
https://www.codethink.co.uk/privacy.html
[-- Attachment #2: 0001-Update-Fortran-changes.patch --]
[-- Type: text/x-patch, Size: 2604 bytes --]
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
---
htdocs/gcc-10/changes.html | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 52eb303..a31e7e5 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -206,6 +206,47 @@ a work-in-progress.</p>
with <code>-std=legacy</code>. <code>-Wargument-mismatch</code>
has been removed.
</li>
+ <li>
+ Legacy extensions:
+ <ul>
+ <li>
+ Default fields widths can be used for <code>I</code>, <code>F</code>
+ and <code>G</code> format specifiers when excplicit widths are omitted.
+ Use the option <code>-fdec-format-defaults</code>, this options is implied
+ with <code>-fdec</code>.
+ </li>
+ <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>
+ <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
+ <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</code>.
+ </li>
+ <li>
+ DEC comparisons, i.e. allow Hollerith constants to be used in comparisons
+ with <code>INTEGER</code>, <code>REAL</code>, <code>COMPLEX</code> and
+ <code>CHARACTER</code> expressions. Use the option <code>-fdec</code>.
+ </li>
+ </ul>
+ <li>
+ Character type names in errors and warnings now include <code>len</code>
+ in addition to <code>kind</code>, <code>*</code> is used for assumed
+ length. The kind is omitted if it the default kind. Examples:
+ <code>CHARACTER(12)</code>, <code>CHARACTER(6,4)</code>.
+ </li>
</ul>
<!-- <h3 id="go">Go</h3> -->
--
1.8.3.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 18:48 ` Mark Eggleston
@ 2019-11-27 9:03 ` Tobias Burnus
2019-11-27 14:19 ` Mark Eggleston
2019-11-28 23:48 ` Gerald Pfeifer
1 sibling, 1 reply; 12+ messages in thread
From: Tobias Burnus @ 2019-11-27 9:03 UTC (permalink / raw)
To: Mark Eggleston, Tobias Burnus, gcc-patches, fortran, gerald
On 11/26/19 7:33 PM, Mark Eggleston wrote:
> htdocs/gcc-10/changes.html | 41 +++++++++++++++++++++++++++++++++++++++++
>
> + <li>
> + Default fields widths can be used for <code>I</code>, <code>F</code>
> + and <code>G</code> format specifiers when excplicit widths are omitted.
> + Use the option <code>-fdec-format-defaults</code>, this options is implied
> + with <code>-fdec</code>.
> + </li>
Typo: excplicit. I had to read it twice and look at the manual: The
options permits to use I/F/G data-edit descriptors** without specifying
a number (a width) and then a default width is used. At the first
reading, I wondered whether in the code or on the command line one
specifies the default value.
Maybe the following is clearer:
"For formatted input/output, if the explicit widths after the data-edit
descriptors <code>I</code>, <code>F</code> and <code>G</code> have been
omitted, default widths are used."
Other wording suggestions are welcome.
> + <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>
(I personally would add a comma before 'i.e.' and 'is allowed' â but
commas are a rather personal affair.*)
> + <li>
> + Character type names in errors and warnings now include <code>len</code>
> + in addition to <code>kind</code>, <code>*</code> is used for assumed
> + length. The kind is omitted if it the default kind. Examples:
> + <code>CHARACTER(12)</code>, <code>CHARACTER(6,4)</code>.
I'd use a semicolon instead of a comma before "* is used for". And add
an 'is' after 'if it'.
Otherwise, it looks good to me.
Tobias
*Cf. https://www.newyorker.com/magazine/2015/02/23/holy-writ
** data-edit-desc is the wording used by the Fortran standard; but I
don't think its name makes it immediately clear what is meant.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-27 9:03 ` Tobias Burnus
@ 2019-11-27 14:19 ` Mark Eggleston
0 siblings, 0 replies; 12+ messages in thread
From: Mark Eggleston @ 2019-11-27 14:19 UTC (permalink / raw)
To: Tobias Burnus, gcc-patches, fortran, gerald
Corrected and committed.
On 27/11/2019 09:00, Tobias Burnus wrote:
> On 11/26/19 7:33 PM, Mark Eggleston wrote:
>> Â htdocs/gcc-10/changes.html | 41
>> +++++++++++++++++++++++++++++++++++++++++
>>
>> +Â Â Â Â Â <li>
>> +Â Â Â Â Â Â Â Default fields widths can be used for <code>I</code>,
>> <code>F</code>
>> +Â Â Â Â Â Â Â and <code>G</code> format specifiers when excplicit widths
>> are omitted.
>> +Â Â Â Â Â Â Â Use the option <code>-fdec-format-defaults</code>, this
>> options is implied
>> +Â Â Â Â Â Â Â with <code>-fdec</code>.
>> +Â Â Â Â Â </li>
>
> Typo: excplicit. I had to read it twice and look at the manual: The
> options permits to use I/F/G data-edit descriptors** without
> specifying a number (a width) and then a default width is used. At the
> first reading, I wondered whether in the code or on the command line
> one specifies the default value.
>
> Maybe the following is clearer:
> "For formatted input/output, if the explicit widths after the
> data-edit descriptors <code>I</code>, <code>F</code> and
> <code>G</code> have been omitted, default widths are used."
>
> Other wording suggestions are welcome.
>
>> +Â Â Â Â Â <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>
> (I personally would add a comma before 'i.e.' and 'is allowed' â but
> commas are a rather personal affair.*)
>> +Â Â Â <li>
>> +Â Â Â Â Â Character type names in errors and warnings now include
>> <code>len</code>
>> +Â Â Â Â Â in addition to <code>kind</code>, <code>*</code> is used for
>> assumed
>> +Â Â Â Â Â length. The kind is omitted if it the default kind. Examples:
>> +Â Â Â Â Â <code>CHARACTER(12)</code>, <code>CHARACTER(6,4)</code>.
>
> I'd use a semicolon instead of a comma before "* is used for". And add
> an 'is' after 'if it'.
>
> Otherwise, it looks good to me.
>
> Tobias
>
> *Cf. https://www.newyorker.com/magazine/2015/02/23/holy-writ
> ** data-edit-desc is the wording used by the Fortran standard; but I
> don't think its name makes it immediately clear what is meant.
>
--
https://www.codethink.co.uk/privacy.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 18:48 ` Mark Eggleston
2019-11-27 9:03 ` Tobias Burnus
@ 2019-11-28 23:48 ` Gerald Pfeifer
1 sibling, 0 replies; 12+ messages in thread
From: Gerald Pfeifer @ 2019-11-28 23:48 UTC (permalink / raw)
To: Mark Eggleston; +Cc: Tobias Burnus, gcc-patches, fortran
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>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-26 11:33 ` Tobias Burnus
2019-11-26 16:29 ` Mark Eggleston
@ 2019-11-27 8:08 ` Janne Blomqvist
2019-11-27 8:29 ` Tobias Burnus
1 sibling, 1 reply; 12+ messages in thread
From: Janne Blomqvist @ 2019-11-27 8:08 UTC (permalink / raw)
To: Tobias Burnus; +Cc: Mark Eggleston, gcc-patches, fortran, Gerald Pfeifer
On Tue, Nov 26, 2019 at 1:12 PM Tobias Burnus <tobias@codesourcery.com> wrote:
> In particular, currently, the following item does not make clear that it
> is about legacy support: "Variables with the <code>AUTOMATIC</code>
> attribute can be used in <code>EQUIVALENCE</code> statements."
>
> I think it can remain as is with the -fdec umbrella item. But without it
> really requires the background knowledge that the AUTOMATIC attribute is
> only available with -fdec-static (or -fdec).
Speaking of which, to avoid confusion maybe we should rename the
-f[no-]automatic option to something like -f[no-]save, since the
Fortran standard description of an "automatic data object" doesn't
really have anything to do with the option, and neither does the
option have anything to do specifically with the DEC AUTOMATIC
specifier?
--
Janne Blomqvist
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-27 8:08 ` Janne Blomqvist
@ 2019-11-27 8:29 ` Tobias Burnus
2019-11-27 8:37 ` Janne Blomqvist
2019-11-27 17:34 ` Mark Eggleston
0 siblings, 2 replies; 12+ messages in thread
From: Tobias Burnus @ 2019-11-27 8:29 UTC (permalink / raw)
To: Janne Blomqvist, Tobias Burnus
Cc: Mark Eggleston, gcc-patches, fortran, Gerald Pfeifer
On 11/27/19 8:58 AM, Janne Blomqvist wrote:
> On Tue, Nov 26, 2019 at 1:12 PM Tobias Burnus <tobias@codesourcery.com> wrote:
>> AUTOMATIC attribute
> Speaking of which, to avoid confusion maybe we should rename the
> -f[no-]automatic option to something like -f[no-]save, since the
> Fortran standard description of an "automatic data object" doesn't
> really have anything to do with the option, and neither does the
> option have anything to do specifically with the DEC AUTOMATIC
> specifier?
While in principle I concur that the naming is bad, I fear this will
break several makefiles â hence, I am not sure it is worth the trouble â
and I am declined to say that it isn't.
Cheers,
Tobias
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-27 8:29 ` Tobias Burnus
@ 2019-11-27 8:37 ` Janne Blomqvist
2019-11-27 17:34 ` Mark Eggleston
1 sibling, 0 replies; 12+ messages in thread
From: Janne Blomqvist @ 2019-11-27 8:37 UTC (permalink / raw)
To: Tobias Burnus; +Cc: Mark Eggleston, gcc-patches, fortran, Gerald Pfeifer
On Wed, Nov 27, 2019 at 10:29 AM Tobias Burnus <tobias@codesourcery.com> wrote:
>
> On 11/27/19 8:58 AM, Janne Blomqvist wrote:
> > On Tue, Nov 26, 2019 at 1:12 PM Tobias Burnus <tobias@codesourcery.com> wrote:
> >> AUTOMATIC attribute
> > Speaking of which, to avoid confusion maybe we should rename the
> > -f[no-]automatic option to something like -f[no-]save, since the
> > Fortran standard description of an "automatic data object" doesn't
> > really have anything to do with the option, and neither does the
> > option have anything to do specifically with the DEC AUTOMATIC
> > specifier?
>
> While in principle I concur that the naming is bad, I fear this will
> break several makefiles – hence, I am not sure it is worth the trouble –
> and I am declined to say that it isn't.
Yes, of course we can't remove it outright. But we could keep it as a
deprecated alias for -f[no-]save (or whatever it should be called) and
document it as such.
--
Janne Blomqvist
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Patch, gcc-wwdocs] Update to Fortran changes
2019-11-27 8:29 ` Tobias Burnus
2019-11-27 8:37 ` Janne Blomqvist
@ 2019-11-27 17:34 ` Mark Eggleston
1 sibling, 0 replies; 12+ messages in thread
From: Mark Eggleston @ 2019-11-27 17:34 UTC (permalink / raw)
To: Tobias Burnus, Janne Blomqvist; +Cc: gcc-patches, fortran, Gerald Pfeifer
On 27/11/2019 08:29, Tobias Burnus wrote:
> On 11/27/19 8:58 AM, Janne Blomqvist wrote:
>> On Tue, Nov 26, 2019 at 1:12 PM Tobias Burnus
>> <tobias@codesourcery.com> wrote:
>>> AUTOMATIC attribute
>> Speaking of which, to avoid confusion maybe we should rename the
>> -f[no-]automatic option to something like -f[no-]save, since the
>> Fortran standard description of an "automatic data object" doesn't
>> really have anything to do with the option, and neither does the
>> option have anything to do specifically with the DEC AUTOMATIC
>> specifier?
-fno-automatic means that all local variables are saved however a local
variable can still be automatic if it explicitly has the AUTOMATIC
attribute, this is only possible with -fdec-static/-fdec, it is not
possible in standard fortran, SAVE equates to STATIC but there is no
standard attribute that equates to AUTOMATIC.
regards
Mark
>
> While in principle I concur that the naming is bad, I fear this will
> break several makefiles â hence, I am not sure it is worth the trouble
> â and I am declined to say that it isn't.
>
> Cheers,
>
> Tobias
>
>
--
https://www.codethink.co.uk/privacy.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Making things a bit easier (was: [Patch, gcc-wwdocs] Update to Fortran changes)
2019-11-26 10:48 [Patch, gcc-wwdocs] Update to Fortran changes Mark Eggleston
2019-11-26 11:33 ` Tobias Burnus
@ 2019-11-28 20:12 ` Gerald Pfeifer
1 sibling, 0 replies; 12+ messages in thread
From: Gerald Pfeifer @ 2019-11-28 20:12 UTC (permalink / raw)
To: Mark Eggleston; +Cc: gcc-patches, fortran
On Tue, 26 Nov 2019, Mark Eggleston wrote:
> I've check the changes with W3 validator. There are no problems related
> to my changes, however, it does object to the lack of character encoding
> in the file. My knowledge of HTML is limited, so don't know how to fix
> that.
Let me take this as good feedback and help make things a bit easier
going forward. :-)
I just committed a patch a patch that added a
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
tag to all of our HTML files which, also in my own tests with
https://validator.w3.org, addresses what you have encountered.
Is there anything else we can do to make things easier?
Gerald
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2019-11-28 22:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 10:48 [Patch, gcc-wwdocs] Update to Fortran changes Mark Eggleston
2019-11-26 11:33 ` Tobias Burnus
2019-11-26 16:29 ` Mark Eggleston
2019-11-26 18:48 ` Mark Eggleston
2019-11-27 9:03 ` Tobias Burnus
2019-11-27 14:19 ` Mark Eggleston
2019-11-28 23:48 ` Gerald Pfeifer
2019-11-27 8:08 ` Janne Blomqvist
2019-11-27 8:29 ` Tobias Burnus
2019-11-27 8:37 ` Janne Blomqvist
2019-11-27 17:34 ` Mark Eggleston
2019-11-28 20:12 ` Making things a bit easier (was: [Patch, gcc-wwdocs] Update to Fortran changes) 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).