public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)
@ 2021-12-09 11:03 asolokha at gmx dot com
  2021-12-10  9:48 ` [Bug target/103625] " linkw at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: asolokha at gmx dot com @ 2021-12-09 11:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103625
           Summary: ICE: in extract_insn, at recog.c:2769 (error:
                    unrecognizable insn)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-e300c3-linux-gnu

gcc 12.0.0 20211205 snapshot (g:c9419faef0bfaf31e6a6f744baa064892e0d105c) ICEs
when compiling the following testcase, reduced from
gcc/testsuite/gcc.target/powerpc/pr70963.c, w/ -mvsx:

#define vector __attribute__((altivec(vector__)))

static void test()
{
  vector double x = { 81.0, 76.0 };
  vector long long y = { 81, 76 };
  vector long long a = __builtin_vec_cts (x, 0);

  if (!__builtin_vec_vcmpeq_p (2, a, y))
    __builtin_abort ();
}

% powerpc-e300c3-linux-gnu-gcc-12.0.0 -mvsx -c m3jai565.c
m3jai565.c: In function 'test':
m3jai565.c:11:1: error: unrecognizable insn:
   11 | }
      | ^
(insn 16 15 17 2 (parallel [
            (set (reg:CC 106 6)
                (unspec:CC [
                        (eq:CC (reg:V2DI 124)
                            (reg:V2DI 125))
                    ] UNSPEC_PREDICATE))
            (set (reg:V2DI 126)
                (eq:V2DI (reg:V2DI 124)
                    (reg:V2DI 125)))
        ]) "m3jai565.c":9:7 -1
     (nil))
during RTL pass: vregs
m3jai565.c:11:1: internal compiler error: in extract_insn, at recog.c:2769
0x6ac6f5 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/rtl-error.c:108
0x6ac715 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/rtl-error.c:116
0x6aad23 extract_insn(rtx_insn*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/recog.c:2769
0xb24c4c instantiate_virtual_regs_in_insn
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:1660
0xb24c4c instantiate_virtual_regs
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:1985
0xb24c4c execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:2034

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

end of thread, other threads:[~2021-12-14 17:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 11:03 [Bug target/103625] New: ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) asolokha at gmx dot com
2021-12-10  9:48 ` [Bug target/103625] " linkw at gcc dot gnu.org
2021-12-10 13:28 ` wschmidt at gcc dot gnu.org
2021-12-10 13:29 ` wschmidt at gcc dot gnu.org
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
2021-12-12 16:55 ` wschmidt at gcc dot gnu.org
2021-12-13  2:23 ` linkw at gcc dot gnu.org
2021-12-13 13:27 ` wschmidt at gcc dot gnu.org
2021-12-13 13:28 ` wschmidt at gcc dot gnu.org
2021-12-13 16:19 ` wschmidt at gcc dot gnu.org
2021-12-14 17:20 ` cvs-commit at gcc dot gnu.org
2021-12-14 17:27 ` wschmidt 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).