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


    line-map.[ch] should not be considered part of GCC in this context.
    The proper analogy is to code in libiberty, which is shared among many
    projects.  There is no reason the Ada front end cannot make use of it
    when linked to some other back-end (modulo source packaging issues).

But it doesn't use libiberty either!  Although Ada supports
interfacing with other languages relatively easily, it isn't free and
doing that does indeed complicate packaging issues for the non-GCC
backends (which are written purely in Ada).  The point is that there's
no reason to have to go outside the front-end until the transition
point from Slocs to whatever the middle-end uses and Sloc_to_locus
seems to me to be the right place to do that.


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