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 seems we already catch the error, but accept it as an extension. % gfcx -o z -std=f2023 a.f90 && ./z a.f90:11:23: 11 | namelist /nam_nml1/j | 1 Error: GNU Extension: Namelist group name 'nam_nml1' at (1) already is USE associated and cannot be respecified.
ah, I overlooked this.
In hindsight, I wish GNU extensions had warnings associated with them.
Should we downgrade this extension to GFC_STD_LEGACY? Not sure when it was implemented or where it was used. Current NAG and Intel reject it hard; Nvidia and Flang accept it. Harald
