typedef fileline location_t

Jason Merrill jason@redhat.com
Wed Oct 15 17:08:00 GMT 2003


On Wed, 15 Oct 2003 00:13:06 -0700, Per Bothner <per@bothner.com> wrote:

> I've tested this on the mainline, but the question is
> whether such an extensive change is appropriate for
> 3.4 at this stage.  However, my understanding is that
> this would be helpful for the tree-ssa work

Indeed; tree-ssa has location info for all expressions, so reducing the
size of that info is very desirable.  If this doesn't go onto the trunk, it
probably makes sense for it to go onto the tree-ssa branch.

> So before I go further I'd like some feedback.  Does this
> look like a good approach?  Can I get help from backend
> people - and maybe other front-ends?  Plus we need to
> figure out what to do with EXPR_WITH_FILE_LOCATION.  (I
> would like to extend fileline to column numbers, as
> I've mentioned before.)

EXPR_WITH_FILE_LOCATION is limited to the Java frontend in tree-ssa, now
that all expressions have location info.

Jason



More information about the Gcc-patches mailing list