This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Adding a location_t (or pointer) to tree_exp for 3.4 only.
- From: Richard Henderson <rth at redhat dot com>
- To: gcc at gcc dot gnu dot org, wilson at specifixinc dot com, jason at redhat dot com
- Date: Mon, 6 Oct 2003 10:40:54 -0700
- Subject: Re: RFA: Adding a location_t (or pointer) to tree_exp for 3.4 only.
- References: <20030922001710.GA24248@alinoe.com> <20030927124920.GA16447@alinoe.com>
On Sat, Sep 27, 2003 at 02:49:20PM +0200, Carlo Wood wrote:
> But tree-ssa (3.5) even adds a location_t to tree_common!
Not anymore.
> A suggestion was to use expr wfl, but that is impractical:
> there are too many places where an expressions type is directly
> compared with CALL_EXPR (if (TREE_CODE (call) != CALL_EXPR)) -
> all of those places would have to be changed to also check for
> a EXPR_WITH_FILE_LOCATION that wraps a CALL_EXPR and then
> unwrap the call expr in order to subsequentially be able to
> process it.
What leads you to believe that this is true? Why would not the
WFL expr just go through expand_expr, and thence to expand_call?
r~