Commit f5d368b6 by Tobias Burnus Committed by Tobias Burnus

pr33426-ivdep.cc: Use dg-options.

2013-10-25  Tobias Burnus  <burnus@net-b.de>

        * g++.dg/vect/pr33426-ivdep.cc: Use dg-options.
        * gfortran.dg/vect/vect-do-concurrent-1.f90: Ditto.
        * testsuite/gcc.dg/vect/vect-ivdep-1.c: Ditto.

From-SVN: r204074
parent 42917d01
2013-10-25 Tobias Burnus <burnus@net-b.de>
* g++.dg/vect/pr33426-ivdep.cc: Use dg-options.
* gfortran.dg/vect/vect-do-concurrent-1.f90: Ditto.
* testsuite/gcc.dg/vect/vect-ivdep-1.c: Ditto.
2013-10-25 Yufeng Zhang <yufeng.zhang@arm.com>
* gcc.dg/wmul-1.c: New test.
......
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
/* { dg-options "-O3 -fopt-info-vec-optimized" } */
/* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
/* PR other/33426 */
/* Testing whether #pragma ivdep is working. */
......@@ -14,6 +14,6 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) {
}
/* { dg-message "loop vectorized" "" { target *-*-* } 0 } */
/* { dg-bogus "version" "" { target *-*-* } 0 } */
/* { dg-bogus "alias" "" { target *-*-* } 0 } */
/* { dg-bogus " version" "" { target *-*-* } 0 } */
/* { dg-bogus " alias" "" { target *-*-* } 0 } */
/* { dg-final { cleanup-tree-dump "vect" } } */
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
/* { dg-options "-O3 -fopt-info-vec-optimized" } */
/* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
/* PR other/33426 */
/* Testing whether #pragma ivdep is working. */
......@@ -14,6 +14,6 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) {
}
/* { dg-message "loop vectorized" "" { target *-*-* } 0 } */
/* { dg-bogus "version" "" { target *-*-* } 0 } */
/* { dg-bogus "alias" "" { target *-*-* } 0 } */
/* { dg-bogus " version" "" { target *-*-* } 0 } */
/* { dg-bogus " alias" "" { target *-*-* } 0 } */
/* { dg-final { cleanup-tree-dump "vect" } } */
! { dg-do compile }
! { dg-require-effective-target vect_float }
! { dg-options "-O3 -fopt-info-vec-optimized" }
! { dg-additional-options "-O3 -fopt-info-vec-optimized" }
subroutine test(n, a, b, c)
integer, value :: n
......@@ -12,6 +12,6 @@ subroutine test(n, a, b, c)
end subroutine test
! { dg-message "loop vectorized" "" { target *-*-* } 0 }
! { dg-bogus "version" "" { target *-*-* } 0 }
! { dg-bogus "alias" "" { target *-*-* } 0 }
! { dg-bogus " version" "" { target *-*-* } 0 }
! { dg-bogus " alias" "" { target *-*-* } 0 }
! { dg-final { cleanup-tree-dump "vect" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment