[PATCH] Add -Wno-abi in c++ struct-layout-1 tests
Thu Sep 25 11:55:00 GMT 2014
On 09/25/14 01:01, Jakub Jelinek wrote:
> I've noticed that lots of g++ struct-layout-1.exp tests now fail
> on ppc*. The problem is the psABI warning:
> the layout of aggregates containing vectors with N-byte alignment
> For various targets we are using -Wno-abi (and, in C
> struct-layout-1.exp also by default) for this, so the patch just
> changes the default for C++ testing too.
> Regtested on x86_64-linux and powerpc*-linux, ok for trunk/4.9/4.8?
> 2014-09-25 Jakub Jelinek <email@example.com>
> * g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi
> to default options.
More information about the Gcc-patches