This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 +" } */
  } 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]