This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada, treelang needs to be converted to --enable-mapped-location
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 07 Oct 2004 08:42:50 -0700
- Subject: Re: Ada, treelang needs to be converted to --enable-mapped-location
- Organization: CodeSourcery, LLC
- References: <10410071127.AA20937@vlsi1.ultra.nyu.edu>
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