On 4/12/23 07:18, shiyul...@iscas.ac.cn wrote:
From: yulong <shiyul...@iscas.ac.cn>
This patch fix a redefinition bug.
There are have a definition about mode_t in the fd-4.c, but it duplicates the
definition in types.h that be included by stdio.h.
Thanks to Jeff Law for reviewing the previous version.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/fd-4.c: delete the definition of mode_t.
This appears to be exactly the same as the prior version. Ultimately
David Malcolm needs to make a decision on whether or not to accept this
patch as it's a patc for the analyzer's testsuite.
David -- comments?
jeff