fp16-compile-none-1.c: Update expected error.
authorJanis Johnson <janisjo@codesourcery.com>
Wed, 25 May 2011 16:30:27 +0000 (16:30 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 25 May 2011 16:30:27 +0000 (16:30 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/packed1.C
gcc/testsuite/g++.dg/other/packed1.C
gcc/testsuite/g++.dg/template/stdarg1.C
gcc/testsuite/g++.dg/warn/Wunused-parm-3.C
gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c

index bc2eac9529a7b1f169cb9b2cd8d7b4fa41cc64ba..4123c99342ca3fc36d7c5e29281c9572c357362d 100644 (file)
@@ -1,3 +1,11 @@
+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.
index c903709d17998efb0cb6968120fb847298be308e..834537532e295cd37871547de49d6797fdda0fd4 100644 (file)
@@ -1,10 +1,10 @@
 // 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));
 
index 7a842d39ad18f64d72881795433e1f318482a5bc..ac586c6c00220dbe460172ccad0b11a0c2d8c083 100644 (file)
@@ -1,4 +1,4 @@
-// { 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.
index ddc8c786246678afdce316cc76a7610d1f6550ac..94804eeed822af71fb4bb89877e83bc0765803f4 100644 (file)
@@ -1,5 +1,7 @@
 // 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>
 
index 4d293f3cb522399cf1b304bce93751304c4cd194..3f0a0e7d0f02c00176f55fed60fdcf3f983c8516 100644 (file)
@@ -1,5 +1,7 @@
 // { 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>
 
index ca2912333c50641675ea2857cd3e4e210cd2a84e..e91250581a0edfeac5c616effe69aab122af9ed8 100644 (file)
@@ -3,4 +3,4 @@
 
 /* __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" } */