I committed the following patch as obvious to make the dg-error test match the current compiler's error message (the current compiler now lists the type which broke the regexp).
2011-09-06 Michael Meissner <meiss...@linux.vnet.ibm.com> * g++.dg/ext/altivec-17.C: Fix dg-error to match current compiler. Index: gcc/testsuite/g++.dg/ext/altivec-17.C =================================================================== --- gcc/testsuite/g++.dg/ext/altivec-17.C (revision 178613) +++ 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 simd_type&' from expression of type 'const bool_simd_type'" } + simd_type const &v = a; // { dg-error "invalid initialization of reference of type" } } -- Michael Meissner, IBM 5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA meiss...@linux.vnet.ibm.com fax +1 (978) 399-6899