public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64263] New: ICE where adddi3_aarch64 does not satisfy its constraints after r217546
@ 2014-12-11 10:58 jgreenhalgh at gcc dot gnu.org
  2014-12-11 11:01 ` [Bug target/64263] [5.0 Regression] " ktkachov at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2014-12-11 10:58 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-08 21:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-11 10:58 [Bug target/64263] New: ICE where adddi3_aarch64 does not satisfy its constraints after r217546 jgreenhalgh at gcc dot gnu.org
2014-12-11 11:01 ` [Bug target/64263] [5.0 Regression] " ktkachov at gcc dot gnu.org
2014-12-11 11:32 ` ktkachov at gcc dot gnu.org
2014-12-11 13:59 ` ktkachov at gcc dot gnu.org
2015-01-09 11:20 ` rguenth at gcc dot gnu.org
2015-01-16 14:51 ` ktkachov at gcc dot gnu.org
2015-01-16 14:51 ` ktkachov at gcc dot gnu.org
2015-04-08 21:38 ` kugan at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).