[committed] Fix gcc.target/powerpc/altivec-volatile.c test case

Submitted by Peter Bergner on July 6, 2010, 9:56 p.m.

Details

Message ID 1278453402.2773.7.camel@otta
State New
Headers show

Commit Message

Peter Bergner July 6, 2010, 9:56 p.m.
I just committed as obvious the following patch which is required with trunk
due to the changed warning message.

Peter


2010-07-06  Peter Bergner  <bergner@vnet.ibm.com>

	* gcc.target/powerpc/altivec-volatile.c: Adjust expected warning.

Patch hide | download patch | download mbox

Index: gcc.target/powerpc/altivec-volatile.c
===================================================================
--- gcc.target/powerpc/altivec-volatile.c	(revision 161872)
+++ gcc.target/powerpc/altivec-volatile.c	(working copy)
@@ -8,6 +8,6 @@ 
 
 vector float *f (volatile vector float *a)
 {
-  return a;  /* { dg-warning "discards qualifiers" } */
+  return a;  /* { dg-warning "discards 'volatile' qualifier" } */
 }