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

            Bug ID: 70404
           Summary: pr71074.c fails on s390x
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vogt at linux dot vnet.ibm.com
                CC: krebbel at gcc dot gnu.org
  Target Milestone: ---
              Host: s390x
            Target: s390x

The new test case from #70174 triggers an ICE on s390x (svn rev 234414):

.../build/gcc/xgcc -B...//gcc/ .../gcc/testsuite/gcc.dg/pr70174.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -S -m64 -o pr70174.s
.../gcc/testsuite/gcc.dg/pr70174.c: In function 'foo':
.../gcc/testsuite/gcc.dg/pr70174.c:10:7: warning: assignment makes integer from
pointer without a cast [-Wint-conversion]
/home/vogt/src/git/gcc/gcc/testsuite/gcc.dg/pr70174.c:11:1: error:
unrecognizab\
le insn:
(insn 9 8 10 2 (set (zero_extract:DI (subreg:DI (reg:QI 66) 0)
            (const_int 4 [0x4])
            (const_int 56 [0x38]))
        (symbol_ref:DI ("foo") [flags 0x3] <function_decl 0x3fffb138d00 foo>)
.../gcc/testsuite/gcc.dg/pr70174.c:10 -1
     (nil))
.../gcc/testsuite/gcc.dg/pr70174.c:11:1: internal compiler error: in
extract_insn, at recog.c:2287
0x805b40dd _fatal_insn(char const*, rtx_def const*, char const*, int, char
cons\
t*)
        .../gcc/rtl-error.c:108
0x805b411d _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        .../gcc/rtl-error.c:116
0x80582a2d extract_insn(rtx_insn*)
        .../gcc/recog.c:2287
0x803b6af3 instantiate_virtual_regs_in_insn
        .../gcc/function.c:1582
0x803b6af3 instantiate_virtual_regs
        .../gcc/function.c:1950
0x803b6af3 execute
        .../gcc/function.c:1999

Reply via email to