From: Janis Johnson Date: Wed, 25 May 2011 16:30:27 +0000 (+0000) Subject: fp16-compile-none-1.c: Update expected error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8f98c5505068e8ba933f3cd91f2eff6b6b0dc20;p=gcc.git fp16-compile-none-1.c: Update expected error. * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bc2eac9529a..4123c99342c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2011-05-25 Janis Johnson + + * 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 * g++.dg/cpp0x/enum16.C: New. diff --git a/gcc/testsuite/g++.dg/abi/packed1.C b/gcc/testsuite/g++.dg/abi/packed1.C index c903709d179..834537532e2 100644 --- a/gcc/testsuite/g++.dg/abi/packed1.C +++ b/gcc/testsuite/g++.dg/abi/packed1.C @@ -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)); diff --git a/gcc/testsuite/g++.dg/other/packed1.C b/gcc/testsuite/g++.dg/other/packed1.C index 7a842d39ad1..ac586c6c002 100644 --- a/gcc/testsuite/g++.dg/other/packed1.C +++ b/gcc/testsuite/g++.dg/other/packed1.C @@ -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. diff --git a/gcc/testsuite/g++.dg/template/stdarg1.C b/gcc/testsuite/g++.dg/template/stdarg1.C index ddc8c786246..94804eeed82 100644 --- a/gcc/testsuite/g++.dg/template/stdarg1.C +++ b/gcc/testsuite/g++.dg/template/stdarg1.C @@ -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 diff --git a/gcc/testsuite/g++.dg/warn/Wunused-parm-3.C b/gcc/testsuite/g++.dg/warn/Wunused-parm-3.C index 4d293f3cb52..3f0a0e7d0f0 100644 --- a/gcc/testsuite/g++.dg/warn/Wunused-parm-3.C +++ b/gcc/testsuite/g++.dg/warn/Wunused-parm-3.C @@ -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 diff --git a/gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c b/gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c index ca2912333c5..e91250581a0 100644 --- a/gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c +++ b/gcc/testsuite/gcc.target/arm/fp16-compile-none-1.c @@ -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" } */