On Mon, Sep 30, 2019 at 07:15:59PM +0200, Andreas Tobler wrote: > Hi all, > > the below patch tries to silence a warning from the FreeBSD libc. This > warning currently makes all the test cases fail where we make use of the > tmpnam() function. > > --- > /usr/local/bin/ld: /tmp//ccBQaYlC.o: in function `main': > printf-2.c:(.text+0x8d): warning: warning: tmpnam() possibly used unsafely; > consider using mkstemp() > --- > > With this patch, all the *printf* test cases in the gcc part are now > passing. > > What dou you think?
Wouldn't it be better to just dg-prune-output it in the 3 affected tests, perhaps only for affected targets? Jakub