https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410
--- Comment #6 from Jonny Grant <jg at jguk dot org> --- Could this show the offending number in the "line number out of range" message? And even the origin of the LINE1 macro too? Actual: #1 with x86-64 gcc (trunk) <source>: In function 'main': <source>:4:7: warning: line number out of range 4 | #line LINE1 | ^~~~~ Compiler returned: 0 Expected eg: #1 with x86-64 gcc (trunk) <source>: In function 'main': <source>:4:7: warning: line number 112147483647 out of range 4 | #line LINE1 | ^~~~~ LINE1 was defined in header.h:10 Compiler returned: 0 #define LINE1 112147483647 int main(void) { #line LINE1 }