This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: typedef fileline location_t
- From: Jason Merrill <jason at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Oct 2003 13:06:30 -0400
- Subject: Re: typedef fileline location_t
- References: <3F8CF382.2030200@bothner.com>
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