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]

Language-specific tree nodes


Hello,

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.

I have more examples where custom _TYPE and _DECL tree nodes would
be useful. (Okay, for additional _TYPE nodes I can use LANG_TYPE.)

What is the correct way to introduce language-specific tree nodes in
the frontend without patching `tree.def'?

Thanks,

    Peter

-- 
http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20010101
GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422
keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net

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