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: [tree-ssa] PATCH to return to DECL_SOURCE_LOCATION


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."


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