Fix altivec-17.C to match current compiler error message
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Tue, 6 Sep 2011 22:06:59 +0000 (22:06 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 6 Sep 2011 22:06:59 +0000 (22:06 +0000)
From-SVN: r178614

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec-17.C

index 318dfefad8de238768b0ed23c2622474aa1f8c6b..e6dce4ea45d2faaa455cc639034892aedd61df31 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * g++.dg/ext/altivec-17.C: Fix dg-error to match current compiler.
+
 2011-09-06  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.c-torture/compile/20110906-1.c: New test.
index 54eff8a24ede35b6ddd54b1c6e05ac568db16672..099f8742e78381bd34636ea141c34dc0d179cb4f 100644 (file)
@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_type;
 
 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" }
 }