[Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
jg at jguk dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 20 08:37:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410
--- Comment #4 from Jonny Grant <jg at jguk dot org> ---
There's another related issue, can it be covered on this ticket?
GCC does not show the part of the output below I marked with after commenting
out line 4 <-----
#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:6:7: warning: line number out of range
6 | #line 9223372036854775807 <-----
| ^~~~~~~~~~~~~~~~~~~
int main(void)
{
// Note: Comment back in the next line to reproduce
//#line 12147483647
#line 9223372036854775807
}
More information about the Gcc-bugs
mailing list