This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33104] New: Missing error check in .md converter
- From: "kai-gcc-bugs at khms dot westfalen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2007 06:54:11 -0000
- Subject: [Bug target/33104] New: Missing error check in .md converter
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(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