On 11/25/26 8:42 AM, Tobias Burnus wrote:
Another trivial bug reported at
https://offtarget.sh/issues/gcc--gcc-defaultmap-to-pointer-copy-back.html
Fortran pointer arrays (with descriptor) couldn't be properly
distinguished from aggregates.
It also turned out that the 'scalar' check didn't properly handled
optional arguments.
I intent to commit this later today, unless there are comments
(including AI ones).
Tobias
PS: defaultmap-8.f90's PR fortran/100991 xfail is now fixed. It is
claused as INVALID, but I think this part is fine. See PR109831 for
some wording that avoids issues with absent 'optional', we previously
feared.
It applies clean on top of all my work and tests clean as well. Thanks for the
fix.
Jerry