This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: fix PR 22115
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, jsm28 at gcc dot gnu dot org, hp at gcc dot gnu dot org
- Date: Sun, 19 Jun 2005 13:20:43 -0400
- Subject: patch: fix PR 22115
Arghhh, I had this in my tree and forgot to commit it. Then I deleted
my source tree.
Committed as obvious. I'm closing the PR, and I'm queuing this for 4.0
as well.
Thanks for reporting it.
PR c++/22115
* g++.dg/conversion/simd2.C: Change expected error message.
Index: g++.dg/conversion/simd2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/conversion/simd2.C,v
retrieving revision 1.1
diff -c -p -r1.1 simd2.C
*** g++.dg/conversion/simd2.C 10 Jun 2005 17:35:37 -0000 1.1
--- g++.dg/conversion/simd2.C 19 Jun 2005 17:18:42 -0000
*************** void foo()
*** 12,16 ****
a = b * c;
a = b / c;
a = -b;
! a = d + b; /* { dg-error "can't convert between vector" } */
}
--- 12,16 ----
a = b * c;
a = b / c;
a = -b;
! a = d + b; /* { dg-error "invalid operands to binary +" } */
}