This is the mail archive of the gcc-patches@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: typedef fileline location_t


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


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