Various fixes to allow us to again build if --enable-mapped-location:
authorPer Bothner <per@bothner.com>
Mon, 7 Mar 2005 21:14:12 +0000 (13:14 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 7 Mar 2005 21:14:12 +0000 (13:14 -0800)
commitdbce15707a9e5148157fe671c2cd5832ec157c63
tree413d97c6eb6d9cb6750a5233f116bf870414d6b7
parenta2da2c9a68c574b4598768ff414d8b19ccc34f3c
Various fixes to allow us to again build if --enable-mapped-location:

* c-decl.c (finish_function): Use SET_EXPR_LOCATION instead of
unavailable annotate_with_file_line, if USE_MAPPED_LOCATION.
* tree-cfg.c (remove_bb): If USE_MAPPED_LOCATION, change type of
local variable loc. Change logic appropriately.
* tree-vect-transform.c (vect_finish_stmt_generation): Use
EXPR_LOCATION rather than EXPR_LOCUS if USE_MAPPED_LOCATION.
* c-parser.c (c_parser_for_statement): Initialize loc variable.
* tree.h (DECL_IS_BUILTIN): Temporarily revert definition of
DECL_IS_BUILTIN in the USE_MAPPED_LOCATION because of jc1 issues.

From-SVN: r96045
gcc/ChangeLog
gcc/c-decl.c
gcc/c-parser.c
gcc/tree-cfg.c
gcc/tree-vect-transform.c
gcc/tree.h