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: Steven Bosscher <stevenb at suse dot de>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner), per at bothner dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 7 Oct 2004 08:19:39 +0200
- Subject: Re: Ada, treelang needs to be converted to --enable-mapped-location
- Organization: SUSE Labs
- References: <10410070145.AA19476@vlsi1.ultra.nyu.edu>
On Thursday 07 October 2004 03:45, Richard Kenner wrote:
> It can certainly be made to work. I am not in favor of this change,
> though, as it requires adding call-back hooks, which are generally to
> be avoided, and which in this case are unnecessary, even if they make
> it easier in the short term.
>
> Hook, singular. It means that there's a language-dependent version of
> expand_location, that's all. The advantage is that it requires *no other
> change* anywhere except to make Sloc_to_locus a nop in the Ada front end.
Hah.
Think outside the box for once please.
It requires *lots* of changes all over the place in all
other front ends.
Gr.
Steven