integral location_t

Per Bothner per@bothner.com
Wed Sep 24 18:47:00 GMT 2003


Carlo Wood wrote:

> Assuming we have at least 32 bits, 12 bits of which are
> reserved for the column, there are 20 bits for the line
> number.

That's not how fileline works ...  The 32 bits of a fileline
are a magic cookie that indexes into a linemap that also
identifies the filename *and* the include nesting.

Currently, fileline does not support column numbers, but
I did once propose an extension for it.  In any case, location_t
does not currently support column numbers either, so adding
column number support is an orthogonal issue.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/




More information about the Gcc mailing list