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/64263] New: ICE where adddi3_aarch64 does not satisfy its constraints after r217546


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

            Bug ID: 64263
           Summary: ICE where adddi3_aarch64 does not satisfy its
                    constraints after r217546
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jgreenhalgh at gcc dot gnu.org
                CC: ramana at gcc dot gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: aarch64-none-elf

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

As of r217546, for the attached testcase (compile with -O1), I see the
following ICE on aarch64-none-elf:

---
$ gcc-r217546 bug.c -O1

./bug.c: In function 'foo':
./bug.c:35:10: warning: implicit declaration of function 'vget_lane_s64'
[-Wimplicit-function-declaration]
   val14 = vcreate_s8(0xff0080f6807f807fUL);
          ^
./bug.c:38:1: error: insn does not satisfy its constraints:
   val40 = vreinterpretq_u32_u64(
 ^
(insn 14 13 7 2 (set (reg:DI 32 v0)
        (plus:DI (reg:DI 32 v0)
            (const_int 255 [0xff]))) ./bug.c:35 80 {*adddi3_aarch64}
     (expr_list:REG_EQUAL (const_int 71776119077929215 [0xff000000ff00ff])
        (nil)))
./bug.c:38:1: internal compiler error: in extract_constrain_insn, at
recog.c:2230
0xa19646 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /work/gcc-clean/src/gcc/gcc/rtl-error.c:110
0xa19677 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /work/gcc-clean/src/gcc/gcc/rtl-error.c:121
0x9f0a40 extract_constrain_insn(rtx_insn*)
    /work/gcc-clean/src/gcc/gcc/recog.c:2230
0x9f32bc copyprop_hardreg_forward_1
    /work/gcc-clean/src/gcc/gcc/regcprop.c:773
0x9f3fbd execute
    /work/gcc-clean/src/gcc/gcc/regcprop.c:1279
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.


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