diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-01-12 10:58:13 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-01-12 20:57:34 +0000 |
commit | f629f63d2d9d7ad2c43f8e451f0f6e32b5f4d06a (patch) | |
tree | 9628467db8ba9df22445aca52f06bda7d92f384a /gcc/gimple-array-bounds.cc | |
parent | ac1c7fcce1f57ba83cfe868f82f8c9eb776ddc32 (diff) | |
download | gcc-f629f63d2d9d7ad2c43f8e451f0f6e32b5f4d06a.zip gcc-f629f63d2d9d7ad2c43f8e451f0f6e32b5f4d06a.tar.gz gcc-f629f63d2d9d7ad2c43f8e451f0f6e32b5f4d06a.tar.bz2 |
libstdc++: Extend max_align_t special case to 64-bit HP-UX [PR77691]
GCC's std::max_align_t doesn't agree with the system malloc on HP-UX, so
generalize the current hack for Solaris to apply to that target too.
libstdc++-v3/ChangeLog:
PR libstdc++/77691
* include/experimental/memory_resource
(_GLIBCXX_MAX_ALIGN_MATCHES_MALLOC): Define.
(do_allocate, do_deallocate): Check it.
* testsuite/experimental/memory_resource/new_delete_resource.cc:
Relax expected behaviour for 64-bit hppa-hp-hpux11.11.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions