summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/spu
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-17 03:07:09 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-17 03:07:09 +0000
commitbbafafc891e7a60871a3b667adfba5c40e3066d7 (patch)
treeedc0187355a08f02e2b4f5a0d6e39cf2bcf42c57 /gcc/testsuite/gcc.target/spu
parentad528e13ba37955115785c779f33179996bf2287 (diff)
downloadgcc-bbafafc891e7a60871a3b667adfba5c40e3066d7.tar.gz
2007-07-16 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.target/spu/intrinsics-1.c: Use dg-message to match flax-vector-conversions note. * gcc.target/spu/fixed-range-bad.c: Use dg-warning instead of dg-error for the warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126699 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/spu')
-rw-r--r--gcc/testsuite/gcc.target/spu/fixed-range-bad.c2
-rw-r--r--gcc/testsuite/gcc.target/spu/intrinsics-1.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/spu/fixed-range-bad.c b/gcc/testsuite/gcc.target/spu/fixed-range-bad.c
index eeef122cbff..099328378c7 100644
--- a/gcc/testsuite/gcc.target/spu/fixed-range-bad.c
+++ b/gcc/testsuite/gcc.target/spu/fixed-range-bad.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-mfixed-range=1-x" } */
-/* { dg-error "unknown register name" "" { target spu-*-* } 0 } */
+/* { dg-warning "unknown register name" "" { target spu-*-* } 0 } */
int i;
diff --git a/gcc/testsuite/gcc.target/spu/intrinsics-1.c b/gcc/testsuite/gcc.target/spu/intrinsics-1.c
index 7f645753fdc..7a7a3a9e444 100644
--- a/gcc/testsuite/gcc.target/spu/intrinsics-1.c
+++ b/gcc/testsuite/gcc.target/spu/intrinsics-1.c
@@ -13,5 +13,6 @@ void f(void)
gt = spu_cmpgt(a, a1); /* { dg-error "integer from pointer without a cast" } */
gt = spu_cmpgt(a, b); /* { dg-error "parameter list" } */
gt = spu_cmpgt(a, a);
- a = spu_cmpgt(a, a); /* { dg-error "" } */
+ a = spu_cmpgt(a, a); /* { dg-message "note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts" } */
+/* { dg-error "incompatible types in" "" { target *-*-* } 16 } */
}