OSDN Git Service

Fix altivec-17.C to match current compiler error message
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Sep 2011 22:06:59 +0000 (22:06 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Sep 2011 22:06:59 +0000 (22:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178614 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 318dfef..e6dce4e 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 54eff8a..099f874 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" }
 }