Who wrote gcc manual's trees chapter?
Mark Mitchell
mark@codesourcery.com
Sun Sep 9 14:14:00 GMT 2001
> I'm finding this chapter invaluable, and I would like to thank you.
You're welcome.
>
> Also, I'm finding a few of the functions/macros documented to not be
> defined in the C frontend, only the C++ frontend.
Yes. Originally, it was only for the C++ front end; then, we changed
the C front end to work more like the C++ front end, so we copied
over the manual, but we didn't mark which things were C++-only. Also,
a few bits in the manual are probably no longe true.
> So far I've found:
> TYPE_PTR_P (tree)
You can just use TREE_CODE (x) == POINTER_TYPE in C.
> TYPE_BUILT_IN (tree)
There's not really anything comparable in C.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list