On 11/2/26 12:33 PM, Mikael Morin wrote:
Le 02/11/2026 à 01:34, Jerry D a écrit :
Hi all,
See the attached patch. The bugzilla comments show the testing results form
this change. This brought back some memories from doing the initial unit
caching. It makes sense to avoid using locks when not necessary.
It has been tested on Mac M4 iOS and x86_64-linux. I also tested this in an
ARM container running under qemu.
Regression tested.
OK for mainline?
OK.
Regards,
Jerry
Hi all, in order to backport the fix here to gcc 15 and 14, three additional
commits from mainline also need to be backported.
009fe3e2a36 (HEAD -> gcc15) libgfortran: [PR127893] Look up cached units without
the unit rwlock
7fb373ea0e4 Fix broken bootstrap on FreeBSD.
a69a5154f63 Fix compile failure on systems not supporting gthreads.
31bbcfdcc51 Generate a runtime error on recursive I/O, thread-safe
I have done this locally and done fresh rebuilds and regression tests.
Are there any objections to proceeding?
Regards,
Jerry