------- Additional Comments From segher at kernel dot crashing dot org  
2005-04-28 15:08 -------
The C standard has this to say about line numbers, in 6.10.4/2:

The line number of the current source line is one greater than the number of 
new-line characters read 
or introduced in translation phase 1 (5.1.1.2) while processing the source file 
to the current token. 

So, a line number of 0 is impossible.  GAS is correct to complain about this.

It would be nice to be consistent, yes; but consistently right, please, not
consistently wrong ;-)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21250

Reply via email to