public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106450] New: [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn)
@ 2022-07-26 18:44 asolokha at gmx dot com
  2022-07-26 20:52 ` [Bug target/106450] " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: asolokha at gmx dot com @ 2022-07-26 18:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106450
           Summary: [13 Regression] ICE in final_scan_insn_1, at
                    final.cc:2860 (error: could not split insn)
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc 13.0.0 20220724 snapshot (g:8b8103dcd2624936bd1f56ac2ee63d1fb779a7e4) ICEs
when compiling the following testcase w/ -O2 -fsplit-paths:

__int128 n;

__attribute__ ((simd)) void
foo (void)
{
  __int128 uninitialized;
  unsigned __int128 *p = &n;

  n >>= *p ? : 2;
  n |= uninitialized;
}

% x86_64-unknown-linux-gnu-gcc-13.0.0 -O2 -fsplit-paths -c bov4bfel.c
bov4bfel.c: In function 'foo.simdclone.0':
bov4bfel.c:11:1: error: could not split insn
   11 | }
      | ^
(insn:TI 14 75 61 4 (parallel [
            (set (reg:TI 0 ax [92])
                (ior:TI (reg:TI 0 ax [91])
                    (mem/c:V1TI (plus:DI (reg/f:DI 7 sp)
                            (const_int -24 [0xffffffffffffffe8])) [2 %sfp+-16
S16 A128])))
            (clobber (reg:CC 17 flags))
        ]) "bov4bfel.c":10:5 573 {*iorti3_doubleword}
     (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_EQUIV (mem/c:TI (symbol_ref:DI ("n") [flags 0x2]
<var_decl 0x7f1053cffbd0 n>) [1 n+0 S16 A128])
            (nil))))
during RTL pass: final
bov4bfel.c:11:1: internal compiler error: in final_scan_insn_1, at
final.cc:2860
0x72828d _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/rtl-error.cc:108
0x6bc8a6 final_scan_insn_1
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:2860
0xb3597b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:2939
0xb35b24 final_1
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:1996
0xb366d6 rest_of_handle_final
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:4284
0xb366d6 execute
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/final.cc:4364

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

end of thread, other threads:[~2022-08-01 22:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 18:44 [Bug target/106450] New: [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) asolokha at gmx dot com
2022-07-26 20:52 ` [Bug target/106450] " hjl.tools at gmail dot com
2022-07-27  8:30 ` [Bug target/106450] [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) since r13-1607-gc3ed9e0d6e96d869 marxin at gcc dot gnu.org
2022-07-27 11:35 ` roger at nextmovesoftware dot com
2022-07-31  7:36 ` roger at nextmovesoftware dot com
2022-07-31 20:47 ` cvs-commit at gcc dot gnu.org
2022-08-01 22:16 ` roger at nextmovesoftware dot com

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).