I made a bugfix patch, where using "#line" directive breaks annotation
lines of error messages.
Does sharing that here help someone?
https://github.com/mb3h/gcc-patch
I know probably this bugfix doesn't have high priority.
Because this gives profit to limited people that use the classic
utilities using "#line" directive like Flex, Bison or custome tool
(Cfront might be included) and this is limited issue on error message
only that has nothing to do with generation of object code.
In addition, I have to say I only made sure this issue happens on
gcc-13.3.0 and I don't know whether latest version needs this patch or not.
(Although it looks like not changed on source code of 13.4.0 and 15.2.0,
I don't build these and make sure actual behavior)