aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/async.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-07-30 18:12:44 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-07-30 18:12:44 +0100
commit1b3b888d117da2f0e03d84db1e42749b304ba3b5 (patch)
tree07acab6e28a1021cced45532f4b25b59a52ca0c4 /libgfortran/io/async.c
parent81bdfc1e2940fc93bcd0bba4416daff47f04f3b3 (diff)
downloadgcc-1b3b888d117da2f0e03d84db1e42749b304ba3b5.zip
gcc-1b3b888d117da2f0e03d84db1e42749b304ba3b5.tar.gz
gcc-1b3b888d117da2f0e03d84db1e42749b304ba3b5.tar.bz2
Add workaround for aligned_alloc bug on AIX
20_util/memory_resource/2.cc FAILs on AIX 7.2.0.0, because aligned_alloc incorrectly requires the alignment to be a multiple of sizeof(void*). This adds a workaround to the operator new overload taking an alignment value, to increase the alignment (and size) if needed. * libsupc++/new_opa.cc (operator new(size_t, align_val_t)): Add workaround for aligned_alloc bug on AIX. * testsuite/18_support/new_aligned.cc: New test. From-SVN: r263073
Diffstat (limited to 'libgfortran/io/async.c')
0 files changed, 0 insertions, 0 deletions