From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: Alexandre Petit-Bianco Cc: egcs@cygnus.com Subject: Re: Proposed new tree node for gcc Date: Wed, 25 Mar 1998 16:30:00 -0000 Message-id: <19980325163115.42437@dot.cygnus.com> References: <199803242051.MAA20731@sendai.cygnus.com.> X-SW-Source: 1998-03/msg00860.html On Tue, Mar 24, 1998 at 12:51:48PM -0800, Alexandre Petit-Bianco wrote: > We (Per Bothner and myself) propose the definition of a new tree node > called EXPR_WITH_FILE_LOCATION defined as a 'e' node. The struct > tree_exp is big enough to provide us with the appropriate storage > space: `operands[]' can be used to store the encapsulated node, > `complexity' is big enough to store line (20 bit) and column numbers > (12 bit); `common.chain' can provide a hook for filename information. While I think that the idea is good, doing such gross things with overloading `common.chain' is very bad. Defining a new struct is not so difficult, and should be the way this is accomplished. r~