Sema::MergeFunctionDecl has a FIXME section about this. Currently it either replaces or doesn't replace the function decl (or errors out) rather than merging.

On Dec 19, 2007, at 11:54 AM, Chris Lattner wrote:

On Dec 18, 2007, at 12:44 AM, Nico Weber wrote:
here's another error (at least a deviation from gcc behaviour):


     s0539:src nico$ cat test.c

     #include <sys/select.h>
     extern int select (int, fd_set *, fd_set *, fd_set *, struct
timeval *);

Here's a reduced testcase:

int test(int * restrict);
int test(int *);

-Chris
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

--
Christopher Lamb



_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to