[PATCH] Fix PR78515

David Edelsohn dje.gcc@gmail.com
Thu Dec 15 12:57:00 GMT 2016


On Thu, Dec 15, 2016 at 3:23 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Dec 14, 2016 at 05:10:23PM -0700, Martin Sebor wrote:
>> The regression test is failing on powerpc64le due to the warnings
>> below:
>>
>> FAIL: gcc.dg/torture/pr78515.c   -O0  (test for excess errors)
>> Excess errors:
>> /src/gcc/trunk/gcc/testsuite/gcc.dg/torture/pr78515.c:11:1: warning: GCC
>> vector returned by reference: non-standard ABI extension with no
>> compatibility guarantee [-Wpsabi]
>> /src/gcc/trunk/gcc/testsuite/gcc.dg/torture/pr78515.c:10:1: warning: GCC
>> vector passed by reference: non-standard ABI extension with no compatibility
>> guarantee [-Wpsabi]
>
> David has fixed this recently, but just for AIX.  Generally, -Wno-psabi
> is beneficial for all targets if it is needed on just one, I've committed
> following:
>
> 2016-12-15  Jakub Jelinek  <jakub@redhat.com>
>
>         * gcc.dg/tree-ssa/forwprop-35.c: Use -Wno-psabi everywhere.
>         * gcc.dg/torture/pr78515.c: Likewise.
>         * gcc.dg/pr69634.c: Likewise.

Thanks for the fixes and clarification.

There are a few more test cases with similar problems but I was unsure
if we wanted -Wno-psabi in the general options. I will add -Wno-psabi
to the additional test cases general options later today.

Thanks, David



More information about the Gcc-patches mailing list