libstdc++: Add comment about memalign requirements
authorJonathan Wakely <jwakely@redhat.com>
Wed, 30 Mar 2022 15:57:27 +0000 (16:57 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 31 Mar 2022 15:18:00 +0000 (16:18 +0100)
commit7f016919fc8a042b83812ae5f34946ef23b7adb3
treef13b88c0859b1d4299d3ad0c9f0af367e1ea316f
parentcf68f5a6d20db2aee2f3e674ad3f10e1c458edf9
libstdc++: Add comment about memalign requirements

The memalign man page on Solaris and QNX lists an additional requirement
for the alignment value that is not present in all implementation of
that non-standard function. For both those targets we should actually be
using posix_memalign anyway, so it doesn't matter. This just adds a
comment making note of that fact.

libstdc++-v3/ChangeLog:

* libsupc++/new_opa.cc (aligned_alloc): Add comment.
libstdc++-v3/libsupc++/new_opa.cc