https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101045
Bug ID: 101045
Summary: config/i386/subst.md: 76: possible cut'n'paste error ?
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
I am a novice at Coverity, but it says:
*** CID 1485952: Incorrect expression (COPY_PASTE_ERROR)
/root/gcc-coverity/gcc/config/i386/subst.md: 76 in recog_97(rtx_def *, rtx_insn
*, int *)()
70 (match_operand:SUBST_V 1))]
71 "TARGET_AVX512F"
72 [(set (match_dup 0)
73 (vec_merge:SUBST_V
74 (match_dup 1)
75 (match_operand:SUBST_V 2 "nonimm_or_0_operand" "0C")
>>> CID 1485952: Incorrect expression (COPY_PASTE_ERROR)
>>> "pattern1062" in "pattern1062(x2, E_V8DImode, E_V16DImode)" looks like
>>> a copy-paste error.
76 (match_operand:<avx512fmaskmode> 3 "register_operand" "Yk")))])
My best guess is that the 3 should be a smaller number. Advice sought.