[PATCH] Add TSVC tests.

Martin Liška mliska@suse.cz
Sat Nov 6 08:05:33 GMT 2021


Hello.

Sorry for issue related to portability.

On 11/6/21 03:45, David Edelsohn wrote:
> I just noticed that Iain adjusted the tsvc.h for Darwin in the same
> way that I need to adjust it for AIX.  Are we trying to keep the
> testcase directory pristine and in sync with its upstream source or
> can we fix it locally?

We can fix it locally as the source files are split from the original
all-in-one tsvc.c file.

Thanks,
Martin

> 
> Thanks, David
> 
> On Fri, Nov 5, 2021 at 8:24 PM David Edelsohn <dje.gcc@gmail.com> wrote:
>>
>> Hi, Martin
>>
>> These testcases rely on memalign in tsvc.h.  memalign is provided in
>> Linux and Solaris, but is not part of Posix, and it is not available
>> in AIX.  Posix defines posix_memalign, which also is available in AIX.
>>
>> Should the tsvc.h use posix_memalign?  Always?  Only when memalign is
>> not available?
>>
>> Thanks, David



More information about the Gcc-patches mailing list