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 target/33104] New: Missing error check in .md converter


(define_insn "mov<mode>"
        [(set   (match_operand:MVM 0 "vg_general_operand" "=r,   <o>, r, t, r")
                (match_operand:MVM 1 "vg_general_operand" "r<o>, r,   t, r,
I"))]
        ""
        "mov<mode> %0,%1")

When both match_operands mistakenly mention 0 (instead of 0 and 1 as above),
then ...

build/genextract $src/gcc/config/$machine/$machine.md \
          insn-conditions.md > tmp-extract.c
genextract: Internal error: abort in VEC_safe_set_locstr, at genextract.c:190

... which is not exactly a useful diagnostic.


-- 
           Summary: Missing error check in .md converter
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kai-gcc-bugs at khms dot westfalen dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: private


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


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