[PATCH] libstdc++: fix allocate_at_least test for small alignments [PR126072]

Jonathan Wakely jwakely@redhat.com
Fri Jul 3 14:43:16 GMT 2026


On Fri, 03 Jul 2026 at 15:40 +0100, Jonathan Wakely wrote:
>On Wed, 01 Jul 2026 at 21:08 -0400, Nathan Myers wrote:
>>A test for P0401 allocate_at_least fails on target cris-elf,
>>which has a default allocator with alignment 4. This patch
>>adjusts tests to accommodate alignments down to 1, and removes
>>assumptions about the size of short int.
>>
>>Tested on x86 -m64 and -m32. Need assistance for cris-elf.
>
>OK

The short int part seemed unnecessary though, I think it's a valid
assumption for all GCC targets.

No need to change anything though, the patch is fine.




More information about the Libstdc++ mailing list