http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57062
Bug #: 57062 Summary: genattrtab reports errors in wrong file Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: seg...@gcc.gnu.org genattrtab.c keeps track of the line number of all insns it reads (in struct insn_def), but not the file name. It reads all files before doing most work, and then whenever it calls error_with_line() that reports the last file read, not the file with the error.