[testsuite] fix expected error message for PR 43363

Janis Johnson janis187@us.ibm.com
Mon Mar 15 21:34:00 GMT 2010


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\\\]'" }
 }




More information about the Gcc-patches mailing list