[PATCH] Add -Wno-abi in c++ struct-layout-1 tests

Jeff Law law@redhat.com
Thu Sep 25 11:55:00 GMT 2014


On 09/25/14 01:01, Jakub Jelinek wrote:
> Hi!
>
> 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  <jakub@redhat.com>
>
> 	* g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi
> 	to default options.
OK.
jeff



More information about the Gcc-patches mailing list