This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: line-map question
- From: Mike Stump <mrs at apple dot com>
- To: Devang Patel <dpatel at apple dot com>
- Cc: GCC List <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Apr 2005 11:54:18 -0700
- Subject: Re: line-map question
- References: <E57ED588-17FE-4033-9753-9D44C7165061@apple.com>
On Apr 18, 2005, at 9:55 AM, Devang Patel wrote:
From line_map comment at (libcpp/include/line-map.h)
/* Physical source file TO_FILE at line TO_LINE at column 0 is
represented
by the logical START_LOCATION. TO_LINE+L at column C is
represented by
START_LOCATION+(L*(1<<column_bits))+C, as long as C<
(1<<column_bits),
What happens when column number is >= 128 ? This is PR 20907.
What should happen? Well, col==0 would be reasonable.