On Thu, Nov 03, 2011 at 07:51:05PM -0400, Andrew MacLeod wrote:
> These are the changed rth made to the GOMP testsuite.. looks
> primarily like consolidation to c-c++-common from 2 other
> directories.

It seems gcc.dg/gomp/atomic-11.c has been dropped without replacement,
instead of being moved.  Was that intentional?
Otherwise it is ok.

> 2011-10-31  Richard Henderson  <r...@redhat.com>
> 
>       * c-c++-common/gomp/atomic-10.c: Use cas_int; match __atomic builtin.
>       * c-c++-common/gomp/atomic-3.c: Likewise.
>       * c-c++-common/gomp/atomic-9.c: Likewise.
> 
>       * gcc.dg/gomp/atomic-1.c, gcc.dg/gomp/atomic-2.c,
>       gcc.dg/gomp/atomic-3.c, gcc.dg/gomp/atomic-4.c, gcc.dg/gomp/atomic-7.c,
>       gcc.dg/gomp/atomic-8.c, gcc.dg/gomp/atomic-9.c,
>       gcc.dg/gomp/atomic-10.c, gcc.dg/gomp/atomic-12.c,
>       gcc.dg/gomp/atomic-13.c, gcc.dg/gomp/atomic-14.c,
>       gcc.dg/gomp/atomic-15.c: Move to c-c++-common/gomp/.
>       * g++.dg/gomp/atomic-1.C, g++.dg/gomp/atomic-2.C,
>       g++.dg/gomp/atomic-3.C, g++.dg/gomp/atomic-4.C, g++.dg/gomp/atomic-7.C,
>       g++.dg/gomp/atomic-8.C, g++.dg/gomp/atomic-9.C,
>       g++.dg/gomp/atomic-10.C, g++.dg/gomp/atomic-11.C,
>       g++.dg/gomp/atomic-12.C, g++.dg/gomp/atomic-13.C,
>       g++.dg/gomp/atomic-15.C: Remove.
>       * gcc.dg/gomp/gomp.exp, g++.dg/gomp/gomp.exp: Run c-c++-common tests.
> 
> Index: testsuite/gcc.dg/gomp/atomic-11.c
> ===================================================================
> *** testsuite/gcc.dg/gomp/atomic-11.c (.../trunk/gcc) (revision 180790)
> --- testsuite/gcc.dg/gomp/atomic-11.c (.../branches/cxx-mem-model/gcc)        
> (revision 180839)
> ***************
> *** 1,17 ****
> - /* PR middle-end/36877 */
> - /* { dg-do compile } */
> - /* { dg-options "-fopenmp" } */
> - /* { dg-options "-fopenmp -march=i386" { target { { i?86-*-* x86_64-*-* } 
> && ia32 } } } */
> - 
> - int i;
> - float f;
> - 
> - void foo (void)
> - {
> - #pragma omp atomic
> -   i++;
> - #pragma omp atomic
> -   f += 1.0;
> - }
> - 
> - /* { dg-final { scan-assembler-not "__sync_(fetch|add|bool|val)" { target 
> i?86-*-* x86_64-*-* powerpc*-*-* ia64-*-* s390*-*-* sparc*-*-* } } } */
> --- 0 ----

        Jakub

Reply via email to