Waldek Hebisch wrote:
- Ada front end is very different from GPC. At least one GPC bug would be very easy to fix if GPC worked the Gnat way (but GPC is much simpler then Gnat).
Which one exactly are you referring to?
I think we could improve a few things (in particular operations on string/set constants) by not converting things to backend trees so early. AFAIK, we'll have to do something like what Gnat does sometime anyway to support TreeSSA in a future GCC version, but I hope we can do it in a rather lightweight way. I think, using extended trees (only where necessary/useful) in the frontend and translate them to backend trees at the latest moment should be possible. The latter will require recursive traversal of expression trees, but this isn't such a big deal, we do it for schemata already.
Frank