https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90477
--- Comment #3 from Jonny Grant ---
I understand it is undefined, so can gcc use some gcc documented behaviour?
Personally, using a ceiling of INT_MAX sounds best, and maybe a warning note on
the output. Better than showing negative numbers. Tha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90477
--- Comment #2 from Jonathan Wakely ---
Hmm, actually it's undefined to use #line to set the line higher than INT_MAX
but not undefined to set it to exactly INT_MAX then insert newlines that make
it higher than that. Odd.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90477
--- Comment #1 from Jonathan Wakely ---
As with PR 90476 this is undefined.