This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] fix expected error message for PR 43363
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 Mar 2010 14:29:51 -0700
- Subject: [testsuite] fix expected error message for PR 43363
An error message for vector types changed; this fixes a test to expect
the new message. Tested on powerpc64-linux with -m32/-m64, checked in
on trunk.
2010-03-15 Janis Johnson <janis187@us.ibm.com>
PR testsuite/43363
* g++.dg/ext/altivec-17.C: Handle changes to error message.
Index: gcc/testsuite/g++.dg/ext/altivec-17.C
===================================================================
--- gcc/testsuite/g++.dg/ext/altivec-17.C (revision 157466)
+++ gcc/testsuite/g++.dg/ext/altivec-17.C (working copy)
@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_ty
void Foo (bool_simd_type const &a)
{
- simd_type const &v = a; // { dg-error "'const unsigned int __vector__&' from expression of type 'const __bool int __vector__'" }
+ simd_type const &v = a; // { dg-error "'const unsigned int __vector\\\[4\\\]&' from expression of type 'const __bool int __vector\\\[4\\\]'" }
}