Message ID | 20120228233935.GE18768@tyan-ft48-01.lab.bos.redhat.com |
---|---|
State | New |
Headers | show |
On Feb 28, 2012, at 3:39 PM, Jakub Jelinek wrote: > Here is a fix, bootstrapped/regtested on x86_64-linux and i686-linux, > ok for trunk? Sure, but, I can't find -Wpsabi in the docs. :-( If -Wno-abi works, at least it is documented. Ok either way.
On Tue, Feb 28, 2012 at 05:58:14PM -0800, Mike Stump wrote: > On Feb 28, 2012, at 3:39 PM, Jakub Jelinek wrote: > > Here is a fix, bootstrapped/regtested on x86_64-linux and i686-linux, > > ok for trunk? > > Sure, but, I can't find -Wpsabi in the docs. :-( If -Wno-abi works, at least it is documented. Ok either way. While not documented, 46 other tests are already using it. -Wno-abi works too, but is less specific in what it disables. CCing H.J. for the missing documentation (both in c-family/c.opt and doc/invoke.texi). Jakub
--- gcc/testsuite/gcc.dg/torture/pr52402.c.jj 2012-02-28 17:28:58.245648184 +0100 +++ gcc/testsuite/gcc.dg/torture/pr52402.c 2012-02-28 21:47:06.787445156 +0100 @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-w -Wno-psabi" } */ typedef int v4si __attribute__((vector_size(16))); struct T { v4si i[2]; int j; } __attribute__((packed));