On 10/02/2013 10:36 AM, Chris Lattner wrote:> Both of your questions are clang questions, you should ask on cfe-dev. > > -ChrisGood point. I'm going to just file them as bugs. I have some other builtin issues I've found. Reed> On Oct 1, 2013, at 8:26 PM, reed kotler <rkotler at mips.com> wrote: > >> This is probably an old issue but why no builtin_malloc >> >> ../tests-c/20071018-1.c:14:8: error: use of unknown builtin '__builtin_malloc' >> [-Wimplicit-function-declaration] >> *f = __builtin_malloc(sizeof(struct foo)); >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Oct 2, 2013, at 11:21 AM, reed kotler <rkotler at mips.com> wrote:> On 10/02/2013 10:36 AM, Chris Lattner wrote: >> Both of your questions are clang questions, you should ask on cfe-dev. >> >> -Chris > Good point. I'm going to just file them as bugs. > I have some other builtin issues I've found.You should ask about it. It isn't a bug. -Chris
On 10/02/2013 10:27 PM, Chris Lattner wrote:> On Oct 2, 2013, at 11:21 AM, reed kotler <rkotler at mips.com> wrote: > >> On 10/02/2013 10:36 AM, Chris Lattner wrote: >>> Both of your questions are clang questions, you should ask on cfe-dev. >>> >>> -Chris >> Good point. I'm going to just file them as bugs. >> I have some other builtin issues I've found. > You should ask about it. It isn't a bug. > > -ChrisOk. If these are issued where a decision has already been made, then the error message I think should have something like "we don't intend to support this builtin". I will post these on the clang list. Reed