https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849
--- Comment #27 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #26) > (In reply to GCC Commits from comment #23) > > https://gcc.gnu.org/g:aae723d360ca26cd9fd0b039fb0a616bd0eae363 > > > > commit r14-5831-gaae723d360ca26cd9fd0b039fb0a616bd0eae363 > > Author: Martin Jambor <mjam...@suse.cz> > > Date: Fri Nov 24 17:32:35 2023 +0100 > > > > sra: SRA of non-escaped aggregates passed by reference to calls > > > > I'm seeing a large number of libstdc++ testsuite failures, bisected to this > patch. > > For example: > > make check -C x86_64-pc-linux-gnu/libstdc++-v3 > RUNTESTFLAGS="conformance.exp=21_strings/basic_string/operators/char/1.cc > --target_board=unix/-D_GLIBCXX_USE_CXX11_ABI=0" > Unfortunately I cannot reproduce this, the above (on pristine master commit 006e90e1344 on an x86_64-linux) results in: Running target unix/-D_GLIBCXX_USE_CXX11_ABI=0 Running /home/mjambor/gcc/small/src/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ... PASS: 21_strings/basic_string/operators/char/1.cc -std=gnu++17 (test for excess errors) PASS: 21_strings/basic_string/operators/char/1.cc -std=gnu++17 execution test Can you please try if https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638318.html fixes this?