https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111091
--- Comment #1 from KL <deco33000 at yandex dot com> --- The godbolt has the clang compiler set but it was just to compare the output (which has the same output given the same libstdc++). Sorry for this.