https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905
--- Comment #3 from Kamil Kaznowski <kamkaz at windowslive dot com> --- Created attachment 56166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56166&action=edit a smaller example A smaller example. Compilation flags: -O2 -march=x86-64-v3 -std=c++23 vs -O3 -march=x86-64-v3 -std=c++23