diff mbox

[Testsuite] Fix test with -Wno-abi for arm-eabi

Message ID 1286982567.9604.5.camel@e102325-lin.cambridge.arm.com
State New
Headers show

Commit Message

Ramana Radhakrishnan Oct. 13, 2010, 3:09 p.m. UTC
Hi,

The test g++.dg/torture/stackalign/eh-varg-2.C fails on arm-eabi because
of warnings about va_list mangling changes between 4.4 and trunk. 

A number of other tests (c.f. g++.dg/cpp0x/temp-va-arg-bug.C) have been
fixed up for arm-eabi to have the extra -Wno-abi flag. 

Tested with arm-eabi that the tests don't fail for compilation errors. 

Ok to commit on trunk ?

cheers
Ramana


2010-10-13  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * g++.dg/torture/stackalign/eh-vararg-2.C: Fix dg-options for
arm-eabi targets.

Comments

Mark Mitchell Oct. 13, 2010, 8:04 p.m. UTC | #1
On 10/13/2010 8:09 AM, Ramana Radhakrishnan wrote:

> 2010-10-13  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
> 
>        * g++.dg/torture/stackalign/eh-vararg-2.C: Fix dg-options for
> arm-eabi targets.

OK.
diff mbox

Patch

diff --git a/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C b/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C
index 719c839..9aa25b8 100644
--- a/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C
+++ b/gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C
@@ -1,3 +1,4 @@ 
+/* { dg-options "-Wno-abi" {target arm_eabi} } */
 /* { dg-do run } */
 
 #include <stdarg.h>