[PATCH] Implement P0966 std::string::reserve should not shrink

Jonathan Wakely jwakely@redhat.com
Mon Aug 10 11:03:01 GMT 2020


On 10/08/20 10:22 +0100, Jozef Lawrynowicz wrote:
>Hi,
>
>On Thu, Aug 06, 2020 at 06:48:36PM +0000, Jonathan Wakely via Gcc-patches wrote:
>>
>> I've now pushed that combined patch to master.
>
>In libstdc++-v3/include/bits/basic_string.tcc around line 1190, there's a
>missing "#if __cpp_exceptions" test for the try/catch block that was
>added by this patch.
>
>That prevents libstdc++ building with -fno-exceptions.

Fixed with this patch, thanks for reporting it.

Tested powerpc64le-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1158 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200810/5495e4f3/attachment.bin>


More information about the Gcc-patches mailing list