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]

buglet in rtl.def comments?


rtl.def (cvs revision 1.75) has this:

/* Holds a label that is followed by instructions.
   Operand:
   5: is used in jump.c for the use-count of the label.
   6: is used in flow.c to point to the chain of label_ref's to this label.
   7: is a number that is unique in the entire compilation.
   8: is the user-given name of the label, if any.  */
DEF_RTL_EXPR(CODE_LABEL, "code_label", "iuuB00is", 'x')
                                        ^^^^^^^^
                                        01234567

/* Say where in the code a source line starts, for symbol table's sake.
   Operand:
   5: filename, if line number > 0, note-specific data otherwise.
   6: line number if > 0, enum note_insn otherwise.
   7: unique number if line number == note_insn_deleted_label.  */
DEF_RTL_EXPR(NOTE, "note", "iuuB0ni", 'x')
                            ^^^^^^^
                            0123456


As I understand it, the numbering of the operands in CODE_LABEL
and NOTE are off by one.
[or maybe there's a real problem but that seems unlikely]


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