This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Fix gcc.dg/atomic/c11-atomic-exec-[45].c tests on Solaris 10+
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 16:30:46 +0000
- Subject: Re: [testsuite] Fix gcc.dg/atomic/c11-atomic-exec-[45].c tests on Solaris 10+
- Authentication-results: sourceware.org; auth=none
- References: <ydd8uwsiapy dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE>
On Wed, 13 Nov 2013, Rainer Orth wrote:
> The following patch fixes this. Tested by the appropriate runtest
> invocation on i386-pc-solaris2.10, ok for mainline?
OK. The _POSIX_C_SOURCE definition was intended to allow for any systems
whose system headers don't like pthreads in strict ISO C mode without a
feature test macro, but I suppose it's inevitable that the particular
feature test macros needed are going to vary from system to system.
--
Joseph S. Myers
joseph@codesourcery.com