> On Oct 17, 2017, at 16:10 , Nathan Sidwell <nat...@acm.org> wrote: > > On 10/17/2017 05:26 AM, Richard Biener wrote: > >> Sorry for not looking at the patch before replying. The patch looks ok >> but shouldn't LANG_TYPE be also handled by the FE? LANG_TYPE itself >> is an odd beast if I may say that - it's only used by the C++ and Ada FEs >> and the Ada FE does only > > I agree. I think LANG_TYPE may be from when there were no FE-specific nodes. > It should probably be killed and resurrected as appropriate FE nodes. > > Olivier, as an ADA person, is that something that could be done?
I'd think so. LANG_TYPE is treated specially in several places and Ada debug types are pretty sensitive so this would require caution but I don't see/know-of obvious reasons why this couldn't be done. Eric and Pierre-Marie (cc'ed) might have more precise insights. Olivier