* Andrew Pinski:
> On Sun, Oct 22, 2023 at 12:47 AM Florian Weimer wrote:
>>
>> Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
>> Defining the macro avoids an implicit function declaration.
>
> This does not help targets that don't use glibc though.
> Note for builtins testsui
On Sun, Oct 22, 2023 at 4:03 PM wrote:
>
> On 22 October 2023 21:45:12 CEST, Jeff Law wrote:
> >
> >
> >On 10/22/23 10:09, Andrew Pinski wrote:
> >> On Sun, Oct 22, 2023 at 12:47 AM Florian Weimer wrote:
> >>>
> >>> Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
> >>> Definin
On 22 October 2023 21:45:12 CEST, Jeff Law wrote:
>
>
>On 10/22/23 10:09, Andrew Pinski wrote:
>> On Sun, Oct 22, 2023 at 12:47 AM Florian Weimer wrote:
>>>
>>> Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
>>> Defining the macro avoids an implicit function declaration.
>>
On 10/22/23 10:09, Andrew Pinski wrote:
On Sun, Oct 22, 2023 at 12:47 AM Florian Weimer wrote:
Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
Defining the macro avoids an implicit function declaration.
This does not help targets that don't use glibc though.
Note for bu
On Sun, Oct 22, 2023 at 12:47 AM Florian Weimer wrote:
>
> Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
> Defining the macro avoids an implicit function declaration.
This does not help targets that don't use glibc though.
Note for builtins testsuite there is a lib-fputs.c fi
On 10/22/23 01:47, Florian Weimer wrote:
Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
Defining the macro avoids an implicit function declaration.
gcc/testsuite/
* gcc.c-torture/execute/builtins/fputs.c (_GNU_SOURCE):
Define.
OK
jeff
Current glibc headers only declare fputs_unlocked for _GNU_SOURCE.
Defining the macro avoids an implicit function declaration.
gcc/testsuite/
* gcc.c-torture/execute/builtins/fputs.c (_GNU_SOURCE):
Define.
---
gcc/testsuite/gcc.c-torture/execute/builtins/fputs.c | 1 +
1 file ch