summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2011-09-06 22:06:59 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2011-09-06 22:06:59 +0000
commita30d652725c1854366e0f8a2326e21050d4e6807 (patch)
tree1e3e388081b0b48d3ed0880f35d2e38c4d8cd1ac
parentcd5a118264aff95622d73779974a0ed790fbc357 (diff)
downloadgcc-a30d652725c1854366e0f8a2326e21050d4e6807.tar.gz
Fix altivec-17.C to match current compiler error message
From-SVN: r178614
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-17.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 318dfefad8d..e6dce4ea45d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/g++.dg/ext/altivec-17.C b/gcc/testsuite/g++.dg/ext/altivec-17.C
index 54eff8a24ed..099f8742e78 100644
--- a/gcc/testsuite/g++.dg/ext/altivec-17.C
+++ b/gcc/testsuite/g++.dg/ext/altivec-17.C
@@ -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" }
}