https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126072

--- Comment #3 from Nathan Myers <ncm at gcc dot gnu.org> ---
PATCH https://gcc.gnu.org/pipermail/libstdc++/2026-July/067048.html

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.

libstdc++-v3/Changelog:
        PR libstdc++/126072
        * testsuite/20_util/allocator/allocate_at_least.cc: Fix.

Reply via email to