[Bug bootstrap/31778] New: genattrtab.c doesn't record filename

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Tue May 1 22:22:00 GMT 2007


genattrtab.c has

struct insn_def
{
  struct insn_def *next;        /* Next insn in chain.  */
  rtx def;                      /* The DEFINE_...  */
  int insn_code;                /* Instruction number.  */
  int insn_index;               /* Expression numer in file, for errors.  */
  int lineno;                   /* Line number.  */
  int num_alternatives;         /* Number of alternatives.  */
  int vec_idx;                  /* Index of attribute vector in `def'.  */
};

It doesn't record filename. Most of machine descriptions have more than one
input file. As the result, when genattrtab prints an error message
with message_with_line, it dpesn't have filename and it is hard to see
where the problem is.


-- 
           Summary: genattrtab.c doesn't record filename
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31778



More information about the Gcc-bugs mailing list