https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80221
--- Comment #6 from Mike Stump <mikestump at comcast dot net> --- Comment on attachment 41059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41059 Result from running script The . and .-1, .+1, .-2 forms are fine. The .-62 forms are as problematic as the original I suspect. I think we should exclude any number greater than some small int, say, 9. So, .-9 .. .+9 in the new form only. If outside that range, I think I'd rather punt. The idea is that the absolute number at least has a line number that in an editor you can go directly to, and it corresponds with the number in the error messages directly, aiding understanding which one is referred to without having to ungoop the relative number first. Let's see if anyone else has any comments. If not, I'd pre-approve the change with the range reduced.