On 02.10.21 20:01, Sandra Loosemore wrote:
On 9/29/21 2:53 AM, Tobias Burnus wrote:
There are three issues, this patch solves the first:
* reject-valid issue due to adding the initializer also to a dummy
argument which is in an INTERFACE block. Having initializers in
INTERFACE blocks is pointless and causes for the attached testcase
the bogus error:
"Assumed-rank variable y at (1) may only be used as actual argument"
...
This has indeed allowed me to make progress on adding the diagnostic,
but I'm seeing some test regressions on x86_64-linux-gnu that are due
to this patch alone:
FAIL: gfortran.dg/default_initialization_3.f90 -O0 execution test
I do not see this error. Can you double check that you indeed use the
posted patch:
https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580483.html –
and nothing else, e.g., an earlier draft?
(I still have to commit it; it was approved by Harald, but he also he
preferred to have a second view, I decided to wait until tomorrow/Monday
before committing it.)
Tobias