For my VLIW toolchain, I am not allowed to output .loc directives in the middle of a VLIW bundle. Following the lead of the bfin backend, I scan bundles during the machine reorg pass and ensure that all of the insns of a bundle have the same location. This solves most of the problems, but final.c will also output the .loc directive after encountering a NOTE_INSN_PROLOGUE_END. There are two obvious solutions to this:
1) eliminate the note in machine reorg.
2) eliminate the line "force_source_line = true;" from the appropriate line in final.c.

Would either of these alternatives cause a problem?
Is there a better way to avoid having .loc directives inside bundles?

Reply via email to