[PATCH, testsuite]: Use posix_memalign instead of aligned_alloc in gcc.dg/strncmp-2.c
Aaron Sawdey
acsawdey@linux.vnet.ibm.com
Tue Feb 21 04:43:00 GMT 2017
On Fri, 2017-02-17 at 10:50 +0100, Uros Bizjak wrote:
> posix_memalign is portable to older, non-c11 runtimes.
>
> 2017-02-17  Uros Bizjak  <ubizjak@gmail.com>
>
> Â Â Â Â * gcc.dg/strncmp-2.c (test_driver_strncmp): Use posix_memalign
> Â Â Â Â instead of aligned_alloc.
>
> Tested on x86_64-linux-gnu, CentOS 5.11.
>
> OK for mainline?
Uros,
I posted something very similar last Tuesday:
https://gcc.gnu.org/ml/gcc-patches/2017-02/msg00937.html
I didn't get around to applying it until this morning in 245608.
Apologies for wasting your time tracking down the same issue again.
Aaron
--
Aaron Sawdey, Ph.D. acsawdey@linux.vnet.ibm.com
050-2/C113 (507) 253-7520 home: 507/263-0782
IBM Linux Technology Center - PPC Toolchain
More information about the Gcc-patches
mailing list