[Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
jg at jguk dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 24 16:04:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410
--- Comment #16 from Jonny Grant <jg at jguk dot org> ---
Hello!
Checked 23 Feb trunk
g++ (Compiler-Explorer-Build) 9.0.1 20190223 (experimental)
comment 9 test case
#line 0
does not give an error
Original test case still shows negative line numbers
<source>:-737418241:2: warning: #warning second [-Wcpp]
<source>:-737418240:7: warning: line number out of range
Same for comment 5 test case
Could the "line number out of range" specify what the max line number supported
is perhaps?
More information about the Gcc-bugs
mailing list