Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Saints should always be judged guilty until they are proven innocent. -- George Orwell


computers / comp.os.vms / Re: Fortran Exit Codes

SubjectAuthor
* Fortran Exit CodesLawrence D'Oliveiro
+* Re: Fortran Exit CodesArne Vajhøj
|+- Re: Fortran Exit CodesArne Vajhøj
|`* Re: Fortran Exit CodesLawrence D'Oliveiro
| +* Re: Fortran Exit CodesArne Vajhøj
| |`* Re: Fortran Exit CodesLawrence D'Oliveiro
| | `* Re: Fortran Exit CodesDavid Wade
| |  `* Re: Fortran Exit CodesArne Vajhøj
| |   `* Re: Fortran Exit CodesLawrence D'Oliveiro
| |    `* Re: Fortran Exit CodesArne Vajhøj
| |     `* Re: Fortran Exit CodesLawrence D'Oliveiro
| |      `* Re: Fortran Exit CodesArne Vajhøj
| |       `* Re: Fortran Exit CodesLawrence D'Oliveiro
| |        `- Re: Fortran Exit CodesArne Vajhøj
| `* Re: Fortran Exit CodesScott Dorsey
|  `* Re: Fortran Exit CodesSingle Stage to Orbit
|   `- Re: Fortran Exit Codesbill
`* Re: Fortran Exit CodesStephen Hoffman
 `- Re: Fortran Exit CodesLawrence D'Oliveiro

1
Fortran Exit Codes

<urgl83$25fkj$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33589&group=comp.os.vms#33589

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Fortran Exit Codes
Date: Mon, 26 Feb 2024 00:16:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <urgl83$25fkj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 00:16:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2277011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i6sJxv6D2SiOJmV1Drkic"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:mqlFrbCf9frQmUNyM0pUZozUiYM=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 00:16 UTC

Just looking at the Fortran 2018 spec, section 11.4, “STOP and ERROR
STOP statements”. Paragraph 2 says:

When an image is terminated by a STOP or ERROR STOP statement,
its stop code, if any, is made available in a processor-dependent
manner. If the stop-code is an integer, it is recommended that the
value be used as the process exit status, if the processor
supports that concept. If the stop-code in a STOP statement is of
type character or does not appear, or if an end-program-stmt is
executed, it is recommended that the value zero be supplied as the
process exit status, if the processor supports that concept. If
the stop-code in an ERROR STOP statement is of type character or
does not appear, it is recommended that a processor-dependent
nonzero value be supplied as the process exit status, if the
processor supports that concept.

But on VMS, the usual success status code is 1, with other odd values
indicating varying degrees of success, while even values (including
zero) indicate warnings or errors. So how does that work?

Re: Fortran Exit Codes

<urgmh5$25nus$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33590&group=comp.os.vms#33590

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Sun, 25 Feb 2024 19:37:55 -0500
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <urgmh5$25nus$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 00:37:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="74c489823259b6d7417614efeb2483d2";
logging-data="2285532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Nhe7UNjzZSU5rFp0x7yC2K5JH4WY3bRQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:HcOyM8PPzUXAMnvCkDJaZ9ZSDqY=
Content-Language: en-US
In-Reply-To: <urgl83$25fkj$1@dont-email.me>
 by: Arne Vajhøj - Mon, 26 Feb 2024 00:37 UTC

On 2/25/2024 7:16 PM, Lawrence D'Oliveiro wrote:
> Just looking at the Fortran 2018 spec, section 11.4, “STOP and ERROR
> STOP statements”. Paragraph 2 says:
>
> When an image is terminated by a STOP or ERROR STOP statement,
> its stop code, if any, is made available in a processor-dependent
> manner. If the stop-code is an integer, it is recommended that the
> value be used as the process exit status, if the processor
> supports that concept. If the stop-code in a STOP statement is of
> type character or does not appear, or if an end-program-stmt is
> executed, it is recommended that the value zero be supplied as the
> process exit status, if the processor supports that concept. If
> the stop-code in an ERROR STOP statement is of type character or
> does not appear, it is recommended that a processor-dependent
> nonzero value be supplied as the process exit status, if the
> processor supports that concept.
>
> But on VMS, the usual success status code is 1, with other odd values
> indicating varying degrees of success, while even values (including
> zero) indicate warnings or errors. So how does that work?

1) "recommended" is a pretty vague term.

2) VMS Fortran is not Fortran 2018 - it is Fortran 95.

3) Fortran 95 spec says:

<quote>
8.4 STOP statement
R840 stop-stmt is STOP [ stop-code ]
R841 stop-code is scalar-char-constant
or digit [ digit [ digit [ digit [ digit ] ] ] ]
Constraint: scalar-char-constant shall be of type default character.
Execution of a STOP statement causes termination of execution of the
program. At the time of
termination, the stop code, if any, is available in a
processor-dependent manner. Leading zero
digits in the stop code are not significant.
</quote>

4) Reality is pretty simple:

$ type Z1.for
program z1
end
$ for Z1
$ link Z1
$ run Z1
$ sh symb $status
$STATUS == "%X00000001"
$ type Z2.for
program z2
stop
end
$ for Z2
$ link Z2
$ run Z2
$ sh symb $status
$STATUS == "%X00000001"
$ type Z3.for
program z3
stop 44
end
$ for Z3
$ link Z3
$ run Z3
44
$ sh symb $status
$STATUS == "%X00000001"
$ type Z4.for
program z4
stop 'Bingo'
end
$ for Z4
$ link Z4
$ run Z4
Bingo
$ sh symb $status
$STATUS == "%X00000001"
$ type Z5.for
program z5
call sys$exit(%val(44))
end
$ for Z5
$ link Z5
$ run Z5
%SYSTEM-F-ABORT, abort
$ sh symb $status
$STATUS == "%X0000002C"

Arne

Re: Fortran Exit Codes

<urgnru$25nvu$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33591&group=comp.os.vms#33591

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Sun, 25 Feb 2024 20:00:45 -0500
Organization: A noiseless patient Spider
Lines: 75
Message-ID: <urgnru$25nvu$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 01:00:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="74c489823259b6d7417614efeb2483d2";
logging-data="2285566"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AyVxQBA/uLc2DVUebf8gwwuApyhcnxh4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8niOxjJkd/GwlfD3wNL5NaMKpcg=
In-Reply-To: <urgmh5$25nus$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 26 Feb 2024 01:00 UTC

On 2/25/2024 7:37 PM, Arne Vajhøj wrote:
> 4) Reality is pretty simple:
>
> $ type Z1.for
>       program z1
>       end
> $ for Z1
> $ link Z1
> $ run Z1
> $ sh symb $status
>   $STATUS == "%X00000001"
> $ type Z2.for
>       program z2
>       stop
>       end
> $ for Z2
> $ link Z2
> $ run Z2
> $ sh symb $status
>   $STATUS == "%X00000001"
> $ type Z3.for
>       program z3
>       stop 44
>       end
> $ for Z3
> $ link Z3
> $ run Z3
> 44
> $ sh symb $status
>   $STATUS == "%X00000001"
> $ type Z4.for
>       program z4
>       stop 'Bingo'
>       end
> $ for Z4
> $ link Z4
> $ run Z4
> Bingo
> $ sh symb $status
>   $STATUS == "%X00000001"
> $ type Z5.for
>       program z5
>       call sys$exit(%val(44))
>       end
> $ for Z5
> $ link Z5
> $ run Z5
> %SYSTEM-F-ABORT, abort
> $ sh symb $status
>   $STATUS == "%X0000002C"

One more:

$ type Z6.for
program z6
call lib$stop(%val(44))
end
$ for Z6
$ link Z6
$ set noon
$ run Z6
%SYSTEM-F-ABORT, abort
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
z6 Z6 Z6 2 0000000000000048
0000000000020048
0 FFFFFFFF80340964
FFFFFFFF80340964
%TRACE-I-END, end of TRACE stack dump
$ sh symb $status
$STATUS == "%X1000002C"

Arne

Re: Fortran Exit Codes

<urgpt4$26bol$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33592&group=comp.os.vms#33592

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 01:35:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <urgpt4$26bol$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 01:35:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2305813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/F9O5VkIAjK+ejOY6YH0Lm"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:xPlmFv5MHBaq2IuY5X0rsp2Pqr0=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 01:35 UTC

On Sun, 25 Feb 2024 19:37:55 -0500, Arne Vajhøj wrote:

> 2) VMS Fortran is not Fortran 2018 - it is Fortran 95.

Really?? Why?

Re: Fortran Exit Codes

<urgqko$26fuc$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33593&group=comp.os.vms#33593

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Sun, 25 Feb 2024 20:48:06 -0500
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <urgqko$26fuc$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 01:48:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="74c489823259b6d7417614efeb2483d2";
logging-data="2310092"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ON9OPdApsjr8kU6Q0s8zZNydhcUUl10U="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lVHU6ew5BLXU68HoAvS1/EZo1MM=
Content-Language: en-US
In-Reply-To: <urgpt4$26bol$1@dont-email.me>
 by: Arne Vajhøj - Mon, 26 Feb 2024 01:48 UTC

On 2/25/2024 8:35 PM, Lawrence D'Oliveiro wrote:
> On Sun, 25 Feb 2024 19:37:55 -0500, Arne Vajhøj wrote:
>> 2) VMS Fortran is not Fortran 2018 - it is Fortran 95.
>
> Really?? Why?

HP/HPE did not invest much in VMS, so no new Fortran from them.

VSI is currently busy getting existing VMS functionality working
as-is on VMS x86-64, so no new Fortran from them *yet*.

When porting is complete, then I am sure VSI will start
looking at upgrading compilers and adding new compilers.

But I have no idea whether they will prioritize a
new Fortran compiler or they will focus on something
else (Go, Graal-everything, .NET, Julia, OOify
VMS Pascal, OOify VMS Basic etc.etc.).

The strategy of:
* keeping existing compiler at 95 level
with all the VMS specific extensions
* in parallel add a port of standard flang
which supports 2018
has been mentioned a couple of times here.

I don't know if that is what VSI will do, but it sounds
like a relative easy path. They have LLVM and clang running,
so adding a standard flang frontend should not be that difficult.
At least easier than lifting existing Fortran compiler
to 2018 level. But then I am not a compiler guy.

Arne

Re: Fortran Exit Codes

<urgr1g$k9e$1@panix2.panix.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33594&group=comp.os.vms#33594

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: kludge@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: 26 Feb 2024 01:54:56 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 13
Message-ID: <urgr1g$k9e$1@panix2.panix.com>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me> <urgpt4$26bol$1@dont-email.me>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="11640"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Mon, 26 Feb 2024 01:54 UTC

In article <urgpt4$26bol$1@dont-email.me>,
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>On Sun, 25 Feb 2024 19:37:55 -0500, Arne Vajhøj wrote:
>
>> 2) VMS Fortran is not Fortran 2018 - it is Fortran 95.
>
>Really?? Why?

Because engineers should never, ever be allowed to use pointers. Fortran 95
is already going too far.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: Fortran Exit Codes

<urh1gt$2ba6j$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33596&group=comp.os.vms#33596

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 03:45:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <urh1gt$2ba6j$2@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 03:45:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2468051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OxDqDs2MDiJ+745kD3fSF"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:vucNl5NjvJNaU16J4UQ2igd6ZVA=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 03:45 UTC

On Sun, 25 Feb 2024 20:48:06 -0500, Arne Vajhøj wrote:

> I don't know if that is what VSI will do, but it sounds like a relative
> easy path. They have LLVM and clang running,
> so adding a standard flang frontend should not be that difficult.

Looking around, I came across this
<https://www.linaro.org/blog/comparing-llvm-flang-with-other-fortran-compilers/>,
from just a few months ago. Seems there is “Classic Flang” and “LLVM
Flang”: the latter is an all-new compiler, but its performance is not
there yet.

Also looks like Gfortran is roughly as good as “Classic Flang”, if not
better than it in some places.

Which Flang will VSI be using?

Re: Fortran Exit Codes

<cac4d1b8ea381bf1ec78ef47b0e8eb76db1057a3.camel@munted.eu>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33597&group=comp.os.vms#33597

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: alex.buell@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 09:29:40 +0000
Organization: One very high maintenance cat
Lines: 12
Message-ID: <cac4d1b8ea381bf1ec78ef47b0e8eb76db1057a3.camel@munted.eu>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgr1g$k9e$1@panix2.panix.com>
Reply-To: alex.buell@munted.eu
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="4b8b5ac64dc74ce30bfc77f5f9b9176b";
logging-data="2609825"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0tNwGeiS2plXvUwh+e87O7cNi2PBZP3k="
User-Agent: Evolution 3.50.2
Cancel-Lock: sha1:BIgx3eNneb9EphGHZYIXX9Nm0Ss=
In-Reply-To: <urgr1g$k9e$1@panix2.panix.com>
Autocrypt: addr=alex.buell@munted.eu; prefer-encrypt=mutual;
keydata=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
 by: Single Stage to Orbi - Mon, 26 Feb 2024 09:29 UTC

On Mon, 2024-02-26 at 01:54 +0000, Scott Dorsey wrote:
> > > 2) VMS Fortran is not Fortran 2018 - it is Fortran 95.
> >
> > Really?? Why?
>
> Because engineers should never, ever be allowed to use pointers. 
> Fortran 95 is already going too far.

I second this.
--
Tactical Nuclear Kittens

Re: Fortran Exit Codes

<urhqcm$2fkvq$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33598&group=comp.os.vms#33598

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: g4ugm@dave.invalid (David Wade)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 10:49:59 +0000
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <urhqcm$2fkvq$2@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 10:49:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="59bf43ad191be3a5a4f1fd215d4f9838";
logging-data="2610170"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4EPHUekxN2Th79kaFBKtS"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TZVouSOLs64hJ72J0jHqT4xPJqM=
In-Reply-To: <urh1gt$2ba6j$2@dont-email.me>
Content-Language: en-GB
 by: David Wade - Mon, 26 Feb 2024 10:49 UTC

On 26/02/2024 03:45, Lawrence D'Oliveiro wrote:
> On Sun, 25 Feb 2024 20:48:06 -0500, Arne Vajhøj wrote:
>
>> I don't know if that is what VSI will do, but it sounds like a relative
>> easy path. They have LLVM and clang running,
>> so adding a standard flang frontend should not be that difficult.
>
> Looking around, I came across this
> <https://www.linaro.org/blog/comparing-llvm-flang-with-other-fortran-compilers/>,
> from just a few months ago. Seems there is “Classic Flang” and “LLVM
> Flang”: the latter is an all-new compiler, but its performance is not
> there yet.
>
> Also looks like Gfortran is roughly as good as “Classic Flang”, if not
> better than it in some places.
>
> Which Flang will VSI be using?

Historically VMS Fortran was famous for its extensions and perhaps also
non-standard behaviour. Does Flang includes support for the extensions?

Dave

Re: Fortran Exit Codes

<l43jkjF6nicU1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33599&group=comp.os.vms#33599

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gunshannon@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 08:56:26 -0500
Lines: 15
Message-ID: <l43jkjF6nicU1@mid.individual.net>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgr1g$k9e$1@panix2.panix.com>
<cac4d1b8ea381bf1ec78ef47b0e8eb76db1057a3.camel@munted.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net QAKqUzeJzUKSDLhjLTWurg9FdBG1twx7NkLRG8Har4omPqys0D
Cancel-Lock: sha1:95zElJ+yuiXvXQ8UOjnrM5Y+pfM= sha256:gVG+hUg8O75Utxq6vE9zYEuQJ8fIob2kIBWCv4rhZsY=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <cac4d1b8ea381bf1ec78ef47b0e8eb76db1057a3.camel@munted.eu>
 by: bill - Mon, 26 Feb 2024 13:56 UTC

On 2/26/2024 4:29 AM, Single Stage to Orbit wrote:
> On Mon, 2024-02-26 at 01:54 +0000, Scott Dorsey wrote:
>>>> 2) VMS Fortran is not Fortran 2018 - it is Fortran 95.
>>>
>>> Really?? Why?
>>
>> Because engineers should never, ever be allowed to use pointers.
>> Fortran 95 is already going too far.
>
> I second this.

And as an old time Fortran programmer I will gladly make it three.

bill

Re: Fortran Exit Codes

<uriu59$2o509$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33602&group=comp.os.vms#33602

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 16:00:25 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uriu59$2o509$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 21:00:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="74c489823259b6d7417614efeb2483d2";
logging-data="2888713"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nBxNePBylWyCXOycc2PTjYcg9zrKrQuc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IoIW4D4+waSwnj7oo88AmJP/3XM=
In-Reply-To: <urhqcm$2fkvq$2@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 26 Feb 2024 21:00 UTC

On 2/26/2024 5:49 AM, David Wade wrote:
> Historically VMS Fortran was famous for its extensions and perhaps also
> non-standard behaviour. Does Flang includes support for the extensions?

Many VMS extensions got standardized in later Fortran versions,
but several did not, so relevant question.

Flang apparently does not support it.

https://flang.llvm.org/docs/FlangCommandLineReference.html

GFortran on the other hand support some of it.

https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html

Arne

Re: Fortran Exit Codes

<urj07b$2olmn$5@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33606&group=comp.os.vms#33606

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 21:35:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <urj07b$2olmn$5@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 21:35:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2905815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2SI7Hesu4yuI/edxdYq2P"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:EA1T/dlaW9QkuIDTrpiph60qImE=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 21:35 UTC

On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:

> GFortran on the other hand support some of it.
>
> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html

That’s another thing that would have been available for free, if the VMS
port had been based on Linux.

Re: Fortran Exit Codes

<urj29q$2p93h$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33607&group=comp.os.vms#33607

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: seaohveh@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 17:11:06 -0500
Organization: HoffmanLabs LLC
Lines: 56
Message-ID: <urj29q$2p93h$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="3a91f935bdceb4e9d6cf39559205903e";
logging-data="2925681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196DKqFlgAUwMokNZCS14ge82LO4xRc4gM="
User-Agent: Unison/2.2
Cancel-Lock: sha1:0mHZ69f7bF4BCC62dlXGLXoewpQ=
 by: Stephen Hoffman - Mon, 26 Feb 2024 22:11 UTC

On 2024-02-26 00:16:04 +0000, Lawrence D'Oliveiro said:

> Just looking at the Fortran 2018 spec, section 11.4, “STOP and ERROR
> STOP statements”. Paragraph 2 says:
>
> When an image is terminated by a STOP or ERROR STOP statement,
> its stop code, if any, is made available in a processor-dependent
> manner. If the stop-code is an integer, it is recommended that the
> value be used as the process exit status, if the processor
> supports that concept. If the stop-code in a STOP statement is of
> type character or does not appear, or if an end-program-stmt is
> executed, it is recommended that the value zero be supplied as the
> process exit status, if the processor supports that concept. If
> the stop-code in an ERROR STOP statement is of type character or
> does not appear, it is recommended that a processor-dependent
> nonzero value be supplied as the process exit status, if the
> processor supports that concept.
>
> But on VMS, the usual success status code is 1, with other odd values
> indicating varying degrees of success, while even values (including
> zero) indicate warnings or errors. So how does that work?

C and its run-time will return OpenVMS status values, or will return
traditional UNIX status values, depending on the switches and the
context. By default, C uses the OpenVMS conventions here.

Page 19 and following describes how this works in C on OpenVMS:
https://docs.vmssoftware.com/docs/vsi-c-run-time-library-reference-manual-for-openvms-systems.pdf

Here, Fortran will undoubtedly use the OpenVMS status norms, because
that's what the operating system supports. If there's enough pushback
to VSI, there'll probably be a alter-the-return-values mechanism added.
If that mechanism is not already present in some build.

More generally on OpenVMS, any value with 1 in the low three bits—in
the so-called severity field—is successful. Two of the severity values
defined STS$K_SUCCESS and STS$K_INFO are odd, as well.

Page 244 has general details:
https://docs.vmssoftware.com/docs/vsi-openvms-programming-concepts-manual-volume-i.pdf

The following has the C condition value / return value / error value
details:
https://docs.vmssoftware.com/vsi-c-user-s-guide-for-openvms-systems/#RET_STATUS_SEC

And if you think that "just swap in the Linux kernel" idea you've been
floating won't hit this status difference and myriad other details,
you're headed for a surprise.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Fortran Exit Codes

<urj5qe$2puef$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33608&group=comp.os.vms#33608

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 23:11:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <urj5qe$2puef$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urj29q$2p93h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 23:11:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d339ad4b21c64d41c58c7c072f1b4d54";
logging-data="2947535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8T2Re8HX1CH1nXn69kUA2"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:itqzRwdhta349/MhdAvfELA3LZ0=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 23:11 UTC

On Mon, 26 Feb 2024 17:11:06 -0500, Stephen Hoffman wrote:

> And if you think that "just swap in the Linux kernel" idea you've been
> floating won't hit this status difference and myriad other details,
> you're headed for a surprise.

We already know how to handle things like that.

Re: Fortran Exit Codes

<urj9n6$2qd97$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33610&group=comp.os.vms#33610

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 19:17:42 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <urj9n6$2qd97$2@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me> <urj07b$2olmn$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 00:17:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="628747b10ea0852a760fd8d66689a245";
logging-data="2962727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cs6C0BPbMC5dcOy6hzr7vPT+Jlj4WbYA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:N0bBShLcAg8oAe5W5j4PesnL4iM=
In-Reply-To: <urj07b$2olmn$5@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 27 Feb 2024 00:17 UTC

On 2/26/2024 4:35 PM, Lawrence D'Oliveiro wrote:
> On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:
>> GFortran on the other hand support some of it.
>>
>> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
>
> That’s another thing that would have been available for free, if the VMS
> port had been based on Linux.

They got a lot more for free by reusing the existing frontend.

Arne

Re: Fortran Exit Codes

<urjbqr$2r3a4$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33611&group=comp.os.vms#33611

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Tue, 27 Feb 2024 00:53:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <urjbqr$2r3a4$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me> <urj07b$2olmn$5@dont-email.me>
<urj9n6$2qd97$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 00:53:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d339ad4b21c64d41c58c7c072f1b4d54";
logging-data="2985284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fTbjuphhm1K5Mf5joyLrb"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Bin2kB/z+3eO6aowTSfML188UAI=
 by: Lawrence D'Oliv - Tue, 27 Feb 2024 00:53 UTC

On Mon, 26 Feb 2024 19:17:42 -0500, Arne Vajhøj wrote:

> On 2/26/2024 4:35 PM, Lawrence D'Oliveiro wrote:
>
>> On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:
>>
>>> GFortran on the other hand support some of it.
>>>
>>> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
>>
>> That’s another thing that would have been available for free, if the
>> VMS port had been based on Linux.
>
> They got a lot more for free by reusing the existing frontend.

But not the traditional VMS extensions?

Re: Fortran Exit Codes

<urjcdc$2r6v2$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33612&group=comp.os.vms#33612

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 20:03:40 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <urjcdc$2r6v2$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me> <urj07b$2olmn$5@dont-email.me>
<urj9n6$2qd97$2@dont-email.me> <urjbqr$2r3a4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 01:03:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="628747b10ea0852a760fd8d66689a245";
logging-data="2989026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eP+y8/H6QDeiNq7fHL1WK/9Xdj9GRHfQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:YGGFKqwbFjYzgzwM0gERoWIsNQM=
In-Reply-To: <urjbqr$2r3a4$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 27 Feb 2024 01:03 UTC

On 2/26/2024 7:53 PM, Lawrence D'Oliveiro wrote:
> On Mon, 26 Feb 2024 19:17:42 -0500, Arne Vajhøj wrote:
>> On 2/26/2024 4:35 PM, Lawrence D'Oliveiro wrote:
>>> On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:
>>>> GFortran on the other hand support some of it.
>>>>
>>>> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
>>>
>>> That’s another thing that would have been available for free, if the
>>> VMS port had been based on Linux.
>>
>> They got a lot more for free by reusing the existing frontend.
>
> But not the traditional VMS extensions?

They got those.

Same frontend => same dialect supported.

Arne

Re: Fortran Exit Codes

<urjci7$2r3a4$4@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33613&group=comp.os.vms#33613

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Tue, 27 Feb 2024 01:06:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <urjci7$2r3a4$4@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me> <urj07b$2olmn$5@dont-email.me>
<urj9n6$2qd97$2@dont-email.me> <urjbqr$2r3a4$1@dont-email.me>
<urjcdc$2r6v2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 01:06:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d339ad4b21c64d41c58c7c072f1b4d54";
logging-data="2985284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1lzCTzO2Imv1rApVpUst3"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:1SfriI7hMJ/JJwPP1oAegEV/4HY=
 by: Lawrence D'Oliv - Tue, 27 Feb 2024 01:06 UTC

On Mon, 26 Feb 2024 20:03:40 -0500, Arne Vajhøj wrote:

> On 2/26/2024 7:53 PM, Lawrence D'Oliveiro wrote:
>>
>> On Mon, 26 Feb 2024 19:17:42 -0500, Arne Vajhøj wrote:
>>>
>>> On 2/26/2024 4:35 PM, Lawrence D'Oliveiro wrote:
>>>>
>>>> On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:
>>>>>
>>>>> GFortran on the other hand support some of it.
>>>>>
>>>>> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
>>>>
>>>> That’s another thing that would have been available for free, if the
>>>> VMS port had been based on Linux.
>>>
>>> They got a lot more for free by reusing the existing frontend.
>>
>> But not the traditional VMS extensions?
>
> They got those.
>
> Same frontend => same dialect supported.

I thought you said Flang “apparently does not support” VMS extensions.

Re: Fortran Exit Codes

<urjdfs$2rcfr$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=33614&group=comp.os.vms#33614

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Fortran Exit Codes
Date: Mon, 26 Feb 2024 20:22:04 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <urjdfs$2rcfr$1@dont-email.me>
References: <urgl83$25fkj$1@dont-email.me> <urgmh5$25nus$1@dont-email.me>
<urgpt4$26bol$1@dont-email.me> <urgqko$26fuc$1@dont-email.me>
<urh1gt$2ba6j$2@dont-email.me> <urhqcm$2fkvq$2@dont-email.me>
<uriu59$2o509$1@dont-email.me> <urj07b$2olmn$5@dont-email.me>
<urj9n6$2qd97$2@dont-email.me> <urjbqr$2r3a4$1@dont-email.me>
<urjcdc$2r6v2$1@dont-email.me> <urjci7$2r3a4$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 01:22:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="628747b10ea0852a760fd8d66689a245";
logging-data="2994683"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18O7n18bqIkE/sZy8UH+3Qo/cmaU4HKEek="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SM4C5gKA3X6GaE5qi6OqnlPbfS0=
Content-Language: en-US
In-Reply-To: <urjci7$2r3a4$4@dont-email.me>
 by: Arne Vajhøj - Tue, 27 Feb 2024 01:22 UTC

On 2/26/2024 8:06 PM, Lawrence D'Oliveiro wrote:
> On Mon, 26 Feb 2024 20:03:40 -0500, Arne Vajhøj wrote:
>
>> On 2/26/2024 7:53 PM, Lawrence D'Oliveiro wrote:
>>>
>>> On Mon, 26 Feb 2024 19:17:42 -0500, Arne Vajhøj wrote:
>>>>
>>>> On 2/26/2024 4:35 PM, Lawrence D'Oliveiro wrote:
>>>>>
>>>>> On Mon, 26 Feb 2024 16:00:25 -0500, Arne Vajhøj wrote:
>>>>>>
>>>>>> GFortran on the other hand support some of it.
>>>>>>
>>>>>> https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
>>>>>
>>>>> That’s another thing that would have been available for free, if the
>>>>> VMS port had been based on Linux.
>>>>
>>>> They got a lot more for free by reusing the existing frontend.
>>>
>>> But not the traditional VMS extensions?
>>
>> They got those.
>>
>> Same frontend => same dialect supported.
>
> I thought you said Flang “apparently does not support” VMS extensions.

Correct.

But we are talking about VMS Fortran on x86-64 and not flang right?

VMS Fortran on x86-64 use the traditional frontend and support all
VMS extensions.

Flang does not support VMS extensions and does not currently run
on VMS (but could run on VMS some day).

Arne

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor