Re: [testsuite] Fix gcc.dg/atomic/c11-atomic-exec-[45].c tests on Solaris 10+

2013-11-13 Thread Joseph S. Myers
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 mo

[testsuite] Fix gcc.dg/atomic/c11-atomic-exec-[45].c tests on Solaris 10+

2013-11-13 Thread Rainer Orth
Two of the new gcc.dg/atomic tests were failing to compile on Solaris 10+: FAIL: gcc.dg/atomic/c11-atomic-exec-4.c -O0 (test for excess errors) Excess errors: /var/gcc/regression/trunk/10-gcc/build/gcc/include-fixed/sys/feature_tests.h:346:2: error: #error "Compiler or options invalid for pre-U