OSDN Git Service

* c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 17:45:32 +0000 (17:45 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 17:45:32 +0000 (17:45 +0000)
commite60278e775f729018cbf4026c748617a48ddbc6b
treeec7814b11b96af884ce7c0f68b751a451bb0fa0f
parent1cb8ea17a4f5f39fc75b2200ca4108760701ebdd
* c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location
of the artification 'return 0' in main() to BUILTINS_LOCATION.
* tree-cfg.c (remove_bb): Check that location isn't BUILTINS_LOCATION
before warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97641 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/tree-cfg.c