PATCH [c c++ objc]: POINTER_TYPE_P & INDIRECT_TYPE_P

Mark Mitchell mark@codesourcery.com
Fri Dec 17 18:11:00 GMT 1999


    Greg> To pave the way for bounded pointers types, which will be
    Greg> RECORD_TYPE nodes, I need a macro that means a type is
    Greg> logically a pointer type (either POINTER_TYPE or BP
    Greg> RECORD_TYPE).  The current POINTER_TYPE_P matches
    Greg> POINTER_TYPE or REFERENCE_TYPE, and isn't the best choice of
    Greg> name.

Youch.  That's a lot of changes.  Is it really worth it?  A
REFERENCE_TYPE pretty much is a POINTER_TYPE; I assume bounded
references will exist as well, right?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list