------- Comment #2 from jakub at gcc dot gnu dot org 2009-10-14 10:04 ------- Subject: Bug 41543
Author: jakub Date: Wed Oct 14 10:04:22 2009 New Revision: 152761 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152761 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in trunk/gcc/input.h trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.c trunk/libcpp/ChangeLog trunk/libcpp/include/line-map.h trunk/libcpp/line-map.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41543