https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66814

            Bug ID: 66814
           Summary: ICE: gcc.target/i386/avx512f-klogic-2.c
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rmansfield at qnx dot com
  Target Milestone: ---

Created attachment 35935
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35935&action=edit
reduced preprocessed testcase

Testing gcc 5.2 RC with -march=i586

FAIL: gcc.target/i386/avx512f-klogic-2.c (internal compiler error)
FAIL: gcc.target/i386/avx512f-klogic-2.c (test for excess errors)
FAIL: gcc.target/i386/avx512f-knotw-1.c (internal compiler error)
FAIL: gcc.target/i386/avx512f-knotw-1.c (test for excess errors)

Reduced testcase:

$ ./xgcc -B. ~/ice.i -march=i586  -m32 -mavx512f -O2
/home/rmansfield/ice.i: In function ‘avx512f_test’:
/home/rmansfield/ice.i:18:6: error: insn does not satisfy its constraints:
      }
      ^
(insn 48 7 13 2 (parallel [
            (set (reg:HI 70 k1 [99])
                (xor:HI (reg:HI 69 k0 [orig:97 src1 ] [97])
                    (const_int -1 [0xffffffffffffffff])))
            (clobber (reg:CC 17 flags))
        ]) /home/rmansfield/ice.i:7 405 {*xorhi_1}
     (nil))
/home/rmansfield/ice.i:18:6: internal compiler error: in
extract_constrain_insn, at recog.c:2246
0x92ce2a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:110
0x92ce4f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:121
0x8fd63d extract_constrain_insn(rtx_insn*)
        ../../gcc/recog.c:2246
0x90584a copyprop_hardreg_forward_1
        ../../gcc/regcprop.c:793
0x906327 execute
        ../../gcc/regcprop.c:1289
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to