On Tue, 24 May 2011, Janis Johnson wrote:
> On 05/24/2011 12:40 PM, Joseph S. Myers wrote:
> > On Tue, 24 May 2011, Janis Johnson wrote:
> >
> >> On ARM, two g++ tests trigger a warning about changed mangling. The
> >> warning is not relevant to the purpose of the test, so this patch
> >> causes it to be ignored.
> >
> > Various existing tests use -Wno-abi or -Wno-psabi on particular targets
> > for such cases. E.g.
> >
> > // { dg-options "-Wno-abi" { target arm_eabi } }
> >
>
> Is this one OK for trunk and 4.6? The failure occurs for arm-none-eabi
> and for arm-none-linux-gnueabi.
You should repeat all the original options from the main dg-options line,
with -Wno-abi added, in the ARM EABI dg-options line, since only one
dg-options line will be in effect.
--
Joseph S. Myers
[email protected]