builtin_malloc?

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));

Both of your questions are clang questions, you should ask on cfe-dev.

-Chris

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.

Reed

It's a library function. It will always be a library function, even if
the compiler can optimise it away in some cases. It makes no sense to
provide it as externally visible builtin.

Joerg

You should ask about it. It isn't a bug.

-Chris

Ok.

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