This is the mail archive of the gcc@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]

Re: Proposed new tree node for gcc



  In message <199803242051.MAA20731@sendai.cygnus.com.>you write:
  > 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.
Why not just define a new structure and add it to the tree_node
union?  You could make the line/column #s bitfields.


jeff


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