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: Language-specific tree nodes


Peter Gerwinski <peter@gerwinski.de> writes:

> the Pascal language has to different operators for potentiation,
> `pow' and `**'. However, `tree.def' provides only one tree node
> EXPON_EXPR. An additional _EXPR tree node (which would, as
> EXPON_EXPR, never reach the backend) is needed here.

You have not explained why you need two tree node types.
How are they different?  Maybe both can be special cases of EXPON_EXPR.
-- 
	--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]