[Bug c/89569] line number is not accurate on large file with more than UINT32_MAX actual lines

2019-03-13 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89569 --- Comment #3 from Jonny Grant --- (In reply to Jonathan Wakely from comment #2) > Why would 3 be the expected value? Line numbers are natural numbers, not > uint32. Yes, you're right. if the behaviour was defined to be the same as clang, it

[Bug c/89569] line number is not accurate on large file with more than UINT32_MAX actual lines

2019-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89569 --- Comment #2 from Jonathan Wakely --- Why would 3 be the expected value? Line numbers are natural numbers, not uint32.