From: Joseph Myers Date: Wed, 2 Jul 2008 19:35:08 +0000 (+0100) Subject: polytypes.c: Use dg-message separately from dg-error to match separate messages. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=658896fbb85ebf48d21c9a08e405d0916ca1d45a;p=gcc.git 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 --- 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);