Re: [PATCH, testsuite]: Use posix_memalign instead of aligned_alloc in gcc.dg/strncmp-2.c

2017-02-20 Thread Aaron Sawdey
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   > > * gcc.dg/strncmp-2.c (test_driver_strncmp): Use posix_memalign > instead of aligned_alloc. > > Tested on x86_64-linux-gnu,

[PATCH, testsuite]: Use posix_memalign instead of aligned_alloc in gcc.dg/strncmp-2.c

2017-02-17 Thread Uros Bizjak
posix_memalign is portable to older, non-c11 runtimes. 2017-02-17 Uros Bizjak * 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. diff --git