Fortran compiler

2022-04-23 Thread Elliot Cramer
A few years ago I started converting a large old Fortran program which I had 
running on an IBM 7040 and then on a 360. I have a copy of Lahey Fortran and 
ran into a compiler bug and gave up on it. How can I download your compiler and 
get documentation. I don't understand what I've read on the internetThanksElliot

Sent from AT&T Yahoo Mail on Android


Re: [PATCH v2] fortran: Detect duplicate unlimited polymorphic types [PR103662]

2022-04-23 Thread Harald Anlauf via Fortran

Hi Mikael,

Am 22.04.22 um 12:53 schrieb Mikael Morin:

Le 21/04/2022 à 23:14, Mikael Morin a écrit :

Hello,

this is a fix for PR103662, a TBAA issue with unlimited polymorphic
types.

I attached a draft patch to the PR which was accumulating all unlimited
polymorphic symbols to a single namespace, avoiding duplicate symbols
and thus eliminating the problem.

After reviewing the code more in detail, I was afraid that some symbols
could still end up in the local namespace, and that the problem would
remain for them after all.

Despite not being able to generate a testcase where it happened, I
decided to produce a patch based on Jakub’s analysis in the PR audit
trail, as that way supports duplicates by design.

On top of Jakub’s patch, there are a couple more types registrations
just in case (they handle duplicates so that’s fine), and the type
comparison fix that he was too fortran-uncomfortable to do.

The testcase had to be fixed as we found out in the PR audit trail.

Regression tested on x86_64-pc-linux-gnu. OK for master?

Mikael


I have read Jakub’s analysis again, and it says the type registration is
useless for unlimited polymorphic fake symbols, as they are all
translated as ptr_type_node.
So it can be dropped, which brings this v2 patch closer to Jakub’s
original.

Regression tested again. OK?


LGTM.

Thanks for the patch!

Harald


Re: *PING* [PATCH 0/4] Use pointer arithmetic for array references [PR102043]

2022-04-23 Thread Jerry D via Fortran

Yes, Thank you Mikael!

On 4/22/22 6:59 AM, Thomas Koenig via Fortran wrote:


Hi Mikael,

Ping for the four patches starting at 
https://gcc.gnu.org/pipermail/fortran/2022-April/057759.html :

https://gcc.gnu.org/pipermail/fortran/2022-April/057757.html
https://gcc.gnu.org/pipermail/fortran/2022-April/057760.html
https://gcc.gnu.org/pipermail/fortran/2022-April/057758.html
https://gcc.gnu.org/pipermail/fortran/2022-April/057761.html

Richi accepted the general direction and the middle-end interaction.
I need a fortran frontend ack as well.


Looks good to me.

Thanks a lot for taking this on! This would have been a serious
regression if released with gcc 12.

Best regards

Thomas




Re: Fortran compiler

2022-04-23 Thread Jerry D via Fortran

Elliot,

Let me know what system you want the compiler to run on?

Linux, Windows, PowerPC?

I can guide you through installing on some of these.

Usually we build it from source. However, many linux distributions have 
packages you can install easily.


Cheers,

Jerry

On 4/23/22 9:31 AM, Elliot Cramer wrote:

A few years ago I started converting a large old Fortran program which I had 
running on an IBM 7040 and then on a 360. I have a copy of Lahey Fortran and 
ran into a compiler bug and gave up on it. How can I download your compiler and 
get documentation. I don't understand what I've read on the internetThanksElliot

Sent from AT&T Yahoo Mail on Android




Re: Fortran compiler

2022-04-23 Thread emcramer--- via Fortran
Windows 10

Sent from AT&T Yahoo Mail on Android 
 
  On Sat, Apr 23, 2022 at 10:01 PM, Jerry D wrote:   
Elliot,

Let me know what system you want the compiler to run on?

Linux, Windows, PowerPC?

I can guide you through installing on some of these.

Usually we build it from source. However, many linux distributions have 
packages you can install easily.

Cheers,

Jerry

On 4/23/22 9:31 AM, Elliot Cramer wrote:
> A few years ago I started converting a large old Fortran program which I had 
> running on an IBM 7040 and then on a 360. I have a copy of Lahey Fortran and 
> ran into a compiler bug and gave up on it. How can I download your compiler 
> and get documentation. I don't understand what I've read on the 
> internetThanksElliot
>
> Sent from AT&T Yahoo Mail on Android