[cfe-dev] Error with function prototypes and __restrict
Christopher Lamb
christopher.lamb at gmail.com
Wed Dec 19 21:40:15 PST 2007
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
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
--
Christopher Lamb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071219/ca59c5df/attachment.html>
More information about the cfe-dev
mailing list