https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100491
--- Comment #9 from Fredrik Hederstierna <fredrik.hederstie...@securitas-direct.com> --- I tested with gcc-12-20220123 snapshot, and lastest gcc now produces the same result as gcc-10.2.0, so I agree I think this issue is resolved now. Thanks! BR Fredrik