https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70518
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'd say the problem is on the side of your generator, you should be putting the #line 4 after #endif or switch to main.c earlier.