Hi Jerry, Paul,
Am 08.05.26 um 2:18 AM schrieb Jerry D:
On 5/7/26 1:52 PM, Harald Anlauf wrote:
Dear all,
this patch appears to fix an almost 10-year old puzzle, where an
attempt was made to prevent some optimizations by declaring
instances of derived types with DTIO as static. This has the
side-effect that automatic deallocation did not work.
The root cause was a wrong fnspec attribute for the argument
relating to the variable being read.
Regtested on x86_64-pc-linux-gnu. OK for mainline?
And OK for backport to 16-branch?
Thanks,
Harald
Yes, very much OK.
Thanks for the nice review!
Pushed as r17-410-g1904b9207203bb to mainline so far.
It's very gratifying to have a patch that deletes more than
it adds and still fixes a problem...
:-)
Harald
Thanks,
Jerry