Re: [PATCH] Fortran: fix checking of protected variables in submodules [PR83135]

2024-11-20 Thread Harald Anlauf
Am 20.11.24 um 22:36 schrieb Jerry D: On 11/20/24 1:08 PM, Harald Anlauf wrote: Dear all, the attached, actually rather straightforward patch fixes the checking of protected variables in submodules.  When a variable was use-associated in an ancestor module, we failed to properly diagnose this.

Re: [PATCH] Fortran: fix checking of protected variables in submodules [PR83135]

2024-11-20 Thread Jerry D
On 11/20/24 1:08 PM, Harald Anlauf wrote: Dear all, the attached, actually rather straightforward patch fixes the checking of protected variables in submodules. When a variable was use-associated in an ancestor module, we failed to properly diagnose this. Regtested on x86_64-pc-linux-gnu. OK

[PATCH] Fortran: fix checking of protected variables in submodules [PR83135]

2024-11-20 Thread Harald Anlauf
05bc3abfc24b38f0a6e74aa09f97e0bc05dc9511 Mon Sep 17 00:00:00 2001 From: Harald Anlauf Date: Wed, 20 Nov 2024 21:59:22 +0100 Subject: [PATCH] Fortran: fix checking of protected variables in submodules [PR83135] When a symbol was use-associated in the ancestor of a submodule, a PROTECTED attribute was