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]
Other format: [Raw text]

Re: Ada, treelang needs to be converted to --enable-mapped-location


Richard Kenner wrote:

If you can do this in a way that does not make the non-Ada case go measuably slower, that seems OK. If the indirection required is costly, then your proposal is lessa ttractive.

It seems highly unlikely that changing a direct call to expand_location into
an indirect call via a lang hook would be a measurable difference given the
relative rarity of those calls.


I agree.

So, unless someone were to measure the compiler performance and prove that this was a real problem, I'd be OK with your plan. The fallback would be to do the Gigi transformation that you described earlier, even though you'd be making essentially an isomporphic transformation.

Usually, we do try to operate by some kind of consensus, so I'm not trying to overrule other maintainers here. If other people still object to your plan, then we'll have to work that out.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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