This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]