https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102342
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- > Many thanks for the patch - now applied to the modula2 branch of gcc-12. Thanks. I can confirm that this worked fine on both i386-pc-solaris2.11, i686-pc-linux-gnu, and x86_64-pc-linux-gnu. Unfortunately, I hit quite a number of new issues breaking the build on either or all of these targets. I'll report them separately.