Re: [PATCH] Fortran: downgrade use associated namelist group name to, legacy extension

2024-08-30 Thread Steve Kargl
Harald, I'm fine with the patch. You may want to wait to see if anyone has a rasonable objection. -- steve On Fri, Aug 30, 2024 at 09:25:23PM +0200, Harald Anlauf wrote: > Hi Steve, all, > > the attached patch downgrades this feature from a GNU extension (silent > per default) to a legacy ext

[PATCH] Fortran: downgrade use associated namelist group name to, legacy extension

2024-08-30 Thread Harald Anlauf
Hi Steve, all, the attached patch downgrades this feature from a GNU extension (silent per default) to a legacy extension (warning by default). The feature is tested in at least 4 gfortran testcases. I adjusted the pattern of one of these tests to check for the downgrade. Regtested on x86_64-p

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

2024-08-30 Thread Steve Kargl
On Fri, Aug 30, 2024 at 06:46:47PM +0200, Harald Anlauf wrote: > Am 30.08.24 um 18:33 schrieb Steve Kargl: > > On Thu, Aug 29, 2024 at 10:05:35PM +0200, Harald Anlauf wrote: > > > > > > > > > Should we downgrade this extension to GFC_STD_LEGACY? > > > > I would support such a downgrade. In fact

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

2024-08-30 Thread Harald Anlauf
Am 30.08.24 um 18:33 schrieb Steve Kargl: On Thu, Aug 29, 2024 at 10:05:35PM +0200, Harald Anlauf wrote: 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

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

2024-08-30 Thread Steve Kargl
On Thu, Aug 29, 2024 at 10:05:35PM +0200, Harald Anlauf wrote: > > 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-n

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

2024-08-30 Thread Harald Anlauf
Hi Paul, Am 30.08.24 um 18:09 schrieb Paul Richard Thomas: Hi Harald, The patch is good for mainline. The PDT testcase is invalid because the component has a fixed length initializer, while its length is a len parameter. One of the fixes that I will have to do in the PDT revamp. Ignore it for

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

2024-08-30 Thread Paul Richard Thomas
Hi Harald, The patch is good for mainline. The PDT testcase is invalid because the component has a fixed length initializer, while its length is a len parameter. One of the fixes that I will have to do in the PDT revamp. Ignore it for now. Thanks for the patch. Paul On Thu, 29 Aug 2024 at 2