Commit fc0f0c8b by Peter Bergner Committed by Peter Bergner

altivec-2.C: Add -Wno-unused-but-set-variable to dg-options.

	* g++.dg/ext/altivec-2.C: Add -Wno-unused-but-set-variable to
	dg-options.
	* g++.dg/ext/altivec-17.C: Adjust error message.

From-SVN: r161931
parent 88c1612f
2010-07-07 Peter Bergner <bergner@vnet.ibm.com>
* g++.dg/ext/altivec-2.C: Add -Wno-unused-but-set-variable to
dg-options.
* g++.dg/ext/altivec-17.C: Adjust error message.
2010-07-07 Tom Tromey <tromey@redhat.com> 2010-07-07 Tom Tromey <tromey@redhat.com>
* g++.dg/debug/dwarf2/pubnames-1.C: Make darwin-specific. * g++.dg/debug/dwarf2/pubnames-1.C: Make darwin-specific.
......
...@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_type; ...@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_type;
void Foo (bool_simd_type const &a) void Foo (bool_simd_type const &a)
{ {
simd_type const &v = a; // { dg-error "'const __vector.4. unsigned int&' from expression of type 'const __vector.4. __bool int'" } simd_type const &v = a; // { dg-error "'const simd_type&' from expression of type 'const bool_simd_type'" }
} }
/* { dg-do compile { target powerpc*-*-* } } */ /* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec -Wall" } */ /* { dg-options "-maltivec -Wall -Wno-unused-but-set-variable" } */
/* This test checks if AltiVec builtins accept const-qualified /* This test checks if AltiVec builtins accept const-qualified
arguments. */ arguments. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment