https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I get g++ -O2 -o pr113994{,.C}; ./pr113994 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 3) > this->size() (which is 3) Aborted both with current trunk and with g++ 13.2.1 20231205 on real hw with the Fedora defaults, i.e. -march=z13 -mtune=z14.