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

login
register
mail settings
Submitter Peter Bergner
Date July 6, 2010, 9:56 p.m.
Message ID <1278453402.2773.7.camel@otta>
Download mbox | patch
Permalink /patch/58068/
State New
Headers show

Comments

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

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