This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: darwin specific


Zack Weinberg wrote:

There's a certain amount of risk to tree_base, in that people blindly
access TREE_TYPE and TREE_CHAIN regardless of what sort of tree they
might have.  I suppose this could be dealt with by more checking
macros.
I added such a checking macro, and found a lot of cases in the C++
front-end where TREE_TYPE is used on an IDENTIFIER_NODE.  I replaced
those by REAL_IDENTIFIER_TYPE_VALUE.
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]