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

Zack Weinberg zack@codesourcery.com
Wed Oct 6 14:05:00 GMT 2004


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

>     Yes, but that doesn't preclude using the line_map structure, even with
>     non- GCC back-ends.  There is no reason why the Ada front-end can't use
>     line_map for a program that say just does analysis and never touches a
>     tree or an rtx.
>
> Yes, there is because the Ada front end is also used with back-ends other
> than GCC.

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).

zw



More information about the Gcc mailing list