http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47822

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-20 
15:33:56 UTC ---
It will show on all targets without a builtin_decl hook and target builtins.

x86 is no such target, it shows there because of the darwin builtin not
playing by the rules.

I will fix (hide) the issue again, but it will (re-)cause decls of builtins
not to appear in gdb.  Thus,

void *malloc(long);
int main() {}

and you'll not be able to (gdb) ptype malloc.

Thus, darwin people - if you continue to let this kind of hacks sneak in,
then, well, you will continuously get beaten by this kind of problems.
If it "works" it doesn't mean its right.

Reply via email to