public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99842] New: MMA test case ICEs using -O3
@ 2021-03-30 23:12 bergner at gcc dot gnu.org
  2021-03-30 23:20 ` [Bug target/99842] " bergner at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-03-30 23:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99842
           Summary: MMA test case ICEs using -O3
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

A reduced test case from Eigen using MMA builtins ICEs using -O3:

bergner@pike:~/gcc/BUGS/$ g++ -w -S -O3 -mcpu=power10 bug.ii 
bug.ii: In function ‘n< <template-parameter-1-1>, <anonymous>, m, <anonymous>,
<anonymous>, <anonymous> >::n(ab) [with ab = af<ag<int, const n<double, -1, -1,
3>, const n<double, -1, -1, 3> >, n<double, -1, 1, 3> >; cg = double; int
<anonymous> = -1; int m = 1; int <anonymous> = 3; int <anonymous> = 0; int
<anonymous> = 1]’:
bug.ii:90:59: error: could not split insn
   90 |   template <typename ab> n(ab p) { n::template ch<ab>(p); }
      |                                                           ^
(insn:TI 28 335 29 (set (reg:OO 32 0 [orig:125 _28 ] [125])
        (unspec:OO [
                (mem:V16QI (plus:DI (reg/f:DI 26 26 [orig:223 MEM <double *>
[(struct ca *)_253] ] [223])
                        (reg:DI 27 27 [222])) [0 MEM <au> [(void *)_25]+0 S16
A8])
                (mem:V16QI (plus:DI (reg/f:DI 26 26 [orig:223 MEM <double *>
[(struct ca *)_253] ] [223])
                        (reg:DI 27 27 [222])) [0 MEM <au> [(void *)_25]+0 S16
A8])
            ] UNSPEC_MMA_ASSEMBLE)) 2080 {*vsx_assemble_pair}
     (expr_list:REG_EQUIV (mem/c:OO (plus:DI (reg/f:DI 31 31 [217])
                (const_int 160 [0xa0])) [6 MEM[(__vector_pair *)_173]+0 S32
A256])
        (nil)))
during RTL pass: final
bug.ii:90:59: internal compiler error: in final_scan_insn_1, at final.c:3092
0x101fa5fb _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/rtl-error.c:108
0x10a2b5cb final_scan_insn_1
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.c:3092
0x10a2c613 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.c:3171
0x10a2c9b3 final_1
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.c:2022
0x10a2dc57 rest_of_handle_final
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.c:4676
0x10a2dc57 execute
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.c:4754

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

end of thread, other threads:[~2021-06-18 20:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 23:12 [Bug target/99842] New: MMA test case ICEs using -O3 bergner at gcc dot gnu.org
2021-03-30 23:20 ` [Bug target/99842] " bergner at gcc dot gnu.org
2021-04-27 11:40 ` jakub at gcc dot gnu.org
2021-05-21 19:49 ` bergner at gcc dot gnu.org
2021-05-31  3:46 ` cvs-commit at gcc dot gnu.org
2021-06-17 22:04 ` cvs-commit at gcc dot gnu.org
2021-06-18  3:17 ` cvs-commit at gcc dot gnu.org
2021-06-18 20:19 ` bergner 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).