Re: [Ping x 3, Fortran, Patch, coarray, PR84246, v2] Fix for [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950

2024-08-20 Thread Andre Vehreschild
Hi Jerry, thanks for the review. Committed as: gcc-15-3035-g35f56012806 Thanks again, Andre On Mon, 19 Aug 2024 08:46:45 -0700 Jerry D wrote: > On 8/19/24 4:43 AM, Andre Vehreschild wrote: > > Hi all, > > > > another ping on this patch. > > > > Regtests ok on x86_64-pc-linux-gnu on upd

Re: [PATCH v2 10/10] fortran: Add -finline-intrinsics flag for MINLOC/MAXLOC [PR90608]

2024-08-20 Thread Mikael Morin
Hello, Le 19/08/2024 à 21:44, Harald Anlauf a écrit : Hi Mikael, apart from patch #04/10, which did not apply cleanly here, I was able to test your patch.  It seems to work with a manual workaround (-fno-frontend-optimize) to work around this problem. Might be a local issue... Huh? That's unex

[Fortran, Patch, PR86468, v1] Fix propagation of corank to array components in derived types.

2024-08-20 Thread Andre Vehreschild
Hi all, attached patch fixes an ICE in gimplify by assuring that the corank of a non-pointer, non-coarray array component in a derived type is zero. Previously (erroneously) the full corank of the type has been used. There is one exception for pointer typed array components in coarray derived type

Re: [Ping x2 , Fortran, Patch, PR77518, (coarray), v4] Fix ICE in sizeof(coarray)

2024-08-20 Thread Andre Vehreschild
Hi all, pinging this patch. Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? Regards, Andre On Fri, 9 Aug 2024 16:30:52 +0200 Andre Vehreschild wrote: > Ping! > > @Paul, you already had a look at this patch, but I made some changes. Or they > ok? > > - Andre > > On Fri

Re: [Ping x2 , Fortran, Patch, PR77518, (coarray), v4] Fix ICE in sizeof(coarray)

2024-08-20 Thread Jerry D
On 8/20/24 5:35 AM, Andre Vehreschild wrote: Hi all, pinging this patch. Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline? Regards, Andre Your approach looks reasonable so I think OK to push. Thanks, Jerry

Re: [PATCH v2 10/10] fortran: Add -finline-intrinsics flag for MINLOC/MAXLOC [PR90608]

2024-08-20 Thread Harald Anlauf
Hi Mikael, Am 20.08.24 um 11:51 schrieb Mikael Morin: Hello, Le 19/08/2024 à 21:44, Harald Anlauf a écrit : Hi Mikael, apart from patch #04/10, which did not apply cleanly here, I was able to test your patch.  It seems to work with a manual workaround (-fno-frontend-optimize) to work around t

Re: [Fortran, Patch, PR86468, v1] Fix propagation of corank to array components in derived types.

2024-08-20 Thread Harald Anlauf
Hi Andre, Am 20.08.24 um 13:52 schrieb Andre Vehreschild: Hi all, attached patch fixes an ICE in gimplify by assuring that the corank of a non-pointer, non-coarray array component in a derived type is zero. Previously (erroneously) the full corank of the type has been used. There is one excepti

Open MP: threadprivate

2024-08-20 Thread Rheinhardt Matthias
Hi, gfortran from gcc/11.3.0 tells me that the iteration variable of a loop parallelized with the !$omp do construct must not have the threadprivate attribute. Is this standard-conforming? Other compilers, e.g. CRAY, don't complain. Thanks and best regards, M. Rheinhardt

Installing gfortran-14

2024-08-20 Thread John Harper
I did this in my Ubuntu 22.04 system with no trouble: (lf) john:~$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test but the next step failed: (lf) john:~$ sudo apt install gfortran-14 Reading package lists... Done Building dependency tree... Done Reading state information... Done Package gfo

Re: Installing gfortran-14

2024-08-20 Thread Damian Rouson
It has been a few years since I used Ubuntu. If I recall correctly, I think you can just use sudo apt install gcc and that will install gcc, g++, and gfortran. My Linux knowledge is limited. I never figured out how to install a specific version of GCC on Ubuntu so I think you just get what you

Re: Installing gfortran-14

2024-08-20 Thread Sergio Had
To install a specific version of gcc, you could perhaps use pkgsrc (NetBSD package manager, but it works on every system, including Linux). Serge On Aug 21, 2024 at 07:35 +0800, Damian Rouson , wrote: > It has been a few years since I used Ubuntu. If I recall correctly, I think > you can just u