OSDN Git Service

PR preprocessor/41543
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 2009 10:04:22 +0000 (10:04 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 2009 10:04:22 +0000 (10:04 +0000)
commitaf4d2883043b329ee34322d616b88eb0e2b42fa5
tree1d09c51355f1f205dbfff2b154b3beaa1ef84a15
parent9a46ebcd91e94d938fcd5a573a8b83c27ce6626c
PR preprocessor/41543
* input.h (BUILTINS_LOCATION): Change to 1 from 2.
Assert BUILTINS_LOCATION < RESERVED_LOCATION_COUNT.
* tree.c: Include intl.h.
(expand_location): Handle BUILTINS_LOCATION.
* Makefile.in (tree.o): Depend on intl.h.

* include/line-map.h (RESERVED_LOCATION_COUNT): Define.
* line-map.c (linemap_init): Initialize highest_location and
highest_line to RESERVED_LOCATION_COUNT-1 instead of 0.

* gcc.dg/debug/dwarf2/pr41543.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152761 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/input.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c [new file with mode: 0644]
gcc/tree.c
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c