This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] PATCH to return to DECL_SOURCE_LOCATION
- From: Andreas Schwab <schwab at suse dot de>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Sep 2003 11:19:56 +0200
- Subject: Re: [tree-ssa] PATCH to return to DECL_SOURCE_LOCATION
- References: <wvlu171vp82.fsf@prospero.boston.redhat.com>
Jason Merrill <jason@redhat.com> writes:
> Booted and tested athlon-pc-linux-gnu.
>
> 2003-09-24 Jason Merrill <jason@redhat.com>
>
> * tree.h (DECL_SOURCE_LOCATION): Resurrect.
> (DECL_SOURCE_FILE, DECL_SOURCE_LINE): Likewise.
> (EXPR_LOCUS): Renamed from TREE_LOCUS. Null for non-exprs.
> (SET_EXPR_LOCUS): New macro.
> (EXPR_FILENAME): Renamed from TREE_FILENAME.
> (EXPR_LINENO): Renamed from TREE_LINENO.
Doesn't bootstrap:
ada/trans.o(.text+0x3dd72): In function `build_unit_elab':
../../gcc/ada/trans.c:5336: undefined reference to `TREE_FILENAME'
ada/trans.o(.text+0x3ddb2):../../gcc/ada/trans.c:5337: undefined reference to `TREE_LINENO'
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."