[patch] Fortran: Add OpenMP 'interop' directive parsing support

2024-08-29 Thread Tobias Burnus
This patch adds Fortran parsing support for OpenMP's 'interop' directive (which stops with a 'sorry' in trans-openmp.cc as the middle end support is still missing). Tested on x86-64-gnu-linux. Comments, suggestions, remarks? * * * Background: 'interop' makes it easier to call, e.g., a CUDA-

[PATCH, pushed] Fortran: fix ICE with use with rename of namelist member [PR116530]

2024-08-29 Thread Harald Anlauf
Dear all, the attached simple & obvious patch fixes a NULL pointer dereference when USEing with rename a namelist member and reading/writing the namelist. Patch was OK'ed in the PR by Steve and is pushed to mainline as: r15-3308-g6bfeba12c86b4d0dae27d99b484f64774dd49398 As this is a 14/15 regre

Re: [PATCH, pushed] Fortran: fix ICE with use with rename of namelist member [PR116530]

2024-08-29 Thread Steve Kargl
Thanks for the patch. If you have not already opened a new PR for the other issue with C8107, I'll open one later today. It's likely that we need to check the namelist-group-name for USE association in match.cc:gfc_match_namelist. Hmmm, it seems we already catch the error, but accept it as an ex

Re: [PATCH, pushed] Fortran: fix ICE with use with rename of namelist member [PR116530]

2024-08-29 Thread Harald Anlauf
Hi Steve, Am 29.08.24 um 21:53 schrieb Steve Kargl: Thanks for the patch. If you have not already opened a new PR for the other issue with C8107, I'll open one later today. It's likely that we need to check the namelist-group-name for USE association in match.cc:gfc_match_namelist. Hmmm, it s

[PATCH] Fortran: default-initialization of derived-type function results [PR98454]

2024-08-29 Thread Harald Anlauf
Dear all, the attached, rather simple patch adds the missing default-initialization of non-pointer, non-allocatable derived-type function results. Regtested ok on x86_64-pc-linux-gnu, but needed two adjustments in the testsuite. One of them is easily explained by the fix, but the other one to gf

Re: Installing gfortran-14

2024-08-29 Thread John Harper
Hi Thomas & Damian Thank you. I'm running Ubuntu 24.04 in an x86_64 system. I do have dpkg and it said (lf) john:~/Gcc-build$ dpkg -S libc-header-start.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h So I tried $ sudo apt install libc6-dev $ ../Gcc/gcc-14.2.0/configure

Re: Installing gfortran-14

2024-08-29 Thread Jerry D
On 8/29/24 7:53 PM, John Harper wrote: Hi Thomas & Damian Thank you. I'm running Ubuntu 24.04 in an x86_64 system. I do have dpkg and it said (lf) john:~/Gcc-build$ dpkg -S libc-header-start.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h So I tried $ sudo apt install