This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]