Re: declare getpass in analyzer/sensitive-1.c test

2021-01-13 Thread David Malcolm via Gcc-patches
On Fri, 2020-12-25 at 03:21 -0300, Alexandre Oliva wrote: > The getpass function is not available on all systems; and not > necessarily declared in unistd.h, as expected by the sensitive-1 > analyzer test. > > Since this is a compile-only test, it doesn't really matter if the > function is defined

Re: declare getpass in analyzer/sensitive-1.c test

2021-01-13 Thread Alexandre Oliva
Hello, David, Long time no see! I hope you've had a good time during the holidays. I'd appreciate your review of this and a couple of other analyzer testsuite patches we've submitted in the past few weeks. > * gcc.dg/analyzer/sensitive-1.c: Declare getpass. https://gcc.gnu.org/pipermail/

declare getpass in analyzer/sensitive-1.c test

2020-12-24 Thread Alexandre Oliva
The getpass function is not available on all systems; and not necessarily declared in unistd.h, as expected by the sensitive-1 analyzer test. Since this is a compile-only test, it doesn't really matter if the function is defined in the system libraries. All we need is a declaration, to avoid wa