From 658896fbb85ebf48d21c9a08e405d0916ca1d45a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 2 Jul 2008 20:35:08 +0100 Subject: [PATCH] polytypes.c: Use dg-message separately from dg-error to match separate messages. * gcc.target/arm/neon/polytypes.c: Use dg-message separately from dg-error to match separate messages. From-SVN: r137381 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/neon/polytypes.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b7ec4fedfd..607cf0fa1f1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-07-02 Joseph Myers + + * gcc.target/arm/neon/polytypes.c: Use dg-message separately from + dg-error to match separate messages. + 2008-07-02 H.J. Lu * g++.dg/abi/mangle24.C: Remove -mmmx. diff --git a/gcc/testsuite/gcc.target/arm/neon/polytypes.c b/gcc/testsuite/gcc.target/arm/neon/polytypes.c index 9aca6671ae0..12e9b0a7f6a 100644 --- a/gcc/testsuite/gcc.target/arm/neon/polytypes.c +++ b/gcc/testsuite/gcc.target/arm/neon/polytypes.c @@ -28,7 +28,8 @@ void foo () poly8x16_t v128_8; poly16x8_t v128_16; - s64_8 (v64_8); /* { dg-error "use -flax-vector-conversions.*incompatible type for argument 1 of 's64_8'" } */ + s64_8 (v64_8); /* { dg-message "use -flax-vector-conversions" } */ + /* { dg-error "incompatible type for argument 1 of 's64_8'" "" { target *-*-* } 31 } */ u64_8 (v64_8); /* { dg-error "incompatible type for argument 1 of 'u64_8'" } */ p64_8 (v64_8); -- 2.30.2