[Bug other/57062] New: genattrtab reports errors in wrong file

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 24 21:02:00 GMT 2013


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: unassigned@gcc.gnu.org
        ReportedBy: segher@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.



More information about the Gcc-bugs mailing list