* gcc.target/arm/fp16-compile-none-1.c: Update expected error.
* g++.dg/abi/packed1.C: Suppress warning.
* g++.dg/warn/Wunused-parm-3.C: Likewise.
* g++.dg/template/stdarg1.C: Likewise.
* g++.dg/other/packed1.C: Remove arm from xfail list.
From-SVN: r174213
+2011-05-25 Janis Johnson <janisjo@codesourcery.com>
+
+ * gcc.target/arm/fp16-compile-none-1.c: Update expected error.
+ * g++.dg/abi/packed1.C: Suppress warning.
+ * g++.dg/warn/Wunused-parm-3.C: Likewise.
+ * g++.dg/template/stdarg1.C: Likewise.
+ * g++.dg/other/packed1.C: Remove arm from xfail list.
+
2011-05-25 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/enum16.C: New.
// PR c++/41788
-// { dg-options "-Wpacked" }
// { dg-do run }
+// { dg-options "-Wpacked -Wno-attributes" }
extern "C" void abort ();
-struct INNER { // { dg-warning "inefficient.*vptr" "" { target alpha*-*-* ia64-*-* hppa*-*-* mips-sgi-irix* sparc*-*-* spu-*-* sh*-*-* } }
+struct INNER {
virtual int foo() const { return 1; }
} __attribute__ ((packed));
-// { dg-do run { xfail arm*-*-* sh-*-* lm32-*-* } }
+// { dg-do run { xfail sh-*-* lm32-*-* } }
// NMS:2003-04-21 this fails on strict aligned architectures again,
// the patch was reverted because it broke something more important.
// PR c++/47022
// { dg-do compile }
+// Suppress a warning that is irrelevant to the purpose of this test.
+// { dg-options "-Wno-abi" { target arm_eabi } }
#include <cstdarg>
// { dg-do compile }
// { dg-options "-Wunused -W" }
+// Suppress a warning that is irrelevant to the purpose of this test.
+// { dg-options "-Wunused -W -Wno-abi" { target arm_eabi } }
#include <stdarg.h>
/* __fp16 type name is not recognized unless you explicitly enable it
by selecting -mfp16-format=ieee or -mfp16-format=alternative. */
-__fp16 xx = 0.0; /* { dg-error "expected" } */
+__fp16 xx = 0.0; /* { dg-error "unknown type name" } */