[PATCH] handle unusual targets in -Wbuiltin-declaration-mismatch (PR 88098)
Martin Sebor
msebor@gmail.com
Fri Nov 23 18:25:00 GMT 2018
I have committed this in r266417.
Martin
On 11/21/18 10:04 AM, Martin Sebor wrote:
> On 11/21/18 6:08 AM, Rainer Orth wrote:
>> Hi Martin,
>>
>>> By calling builtin_decl_explicit rather than builtin_decl_implicit
>>> the updated patch in the attachment avoids test failures due to
>>> missing warnings on targets with support for long double but whose
>>> libc doesn't support C99 functions like fabsl (such as apparently
>>> aarch64-linux).
>> [...]
>>> gcc/testsuite/ChangeLog:
>>>
>>> Â Â Â Â PR testsuite/88098
>>> Â Â Â Â * gcc.dg/Wbuiltin-declaration-mismatch-4.c: Adjust.
>>> Â Â Â Â * gcc.dg/Wbuiltin-declaration-mismatch-5.c: New test.
>>
>> is the Wbuiltin-declaration-mismatch-5.c testcase still supposed to be
>> part of the patch? It's in the ChangeLog, but missing from the revised
>> patch.
>
> It should still be there. I must have excluded it by accident.
> I will make sure to include it in the commit.
>
> Thanks for pointing it out!
> Martin
More information about the Gcc-patches
mailing list