diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-05 19:19:53 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-05 21:06:36 +0000 |
commit | 8f4860f956871c3fd77ed60567d707490104f370 (patch) | |
tree | 820fb1cf24724f9098339420b89833f15e87e340 /gcc/fortran/symbol.c | |
parent | f1e2879ecfc8897df0e25a53e81d1868363c5e08 (diff) | |
download | gcc-8f4860f956871c3fd77ed60567d707490104f370.zip gcc-8f4860f956871c3fd77ed60567d707490104f370.tar.gz gcc-8f4860f956871c3fd77ed60567d707490104f370.tar.bz2 |
testsuite, Darwin : Fix tsvc test build on Darwin.
Currently all the tsvc tests fail to build on Darwin because
they assume that <malloc.h> and memalign() are available.
For Darwin, <stdlib.h> is sufficient to obtain the declarations
for malloc and the port has posix_memalign () but not memalign.
Fixed as below.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/ChangeLog:
* gcc.dg/vect/tsvc/tsvc.h: Do not try to include malloc.h
on Darwin also use posix_memalign ().
Diffstat (limited to 'gcc/fortran/symbol.c')
0 files changed, 0 insertions, 0 deletions