On 4/6/23 21:37, [email protected] wrote:
From: yulong <[email protected]>

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.

gcc/testsuite/ChangeLog:

         * gcc.dg/analyzer/fd-4.c: delete the definition of mode_t.
This may not be advisable. I wouldn't be shocked to find out there are systems that do not provide mode_t.

Ultimately David Malcolm (on cc) should make the final decision here. It's really not a RISC-V problem.

jeff

Reply via email to