public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106180] New: [13 Regression] ICE in extract_insn, at recog.cc:2791 since 73f942c08deef3cce312263b3347f7a44dd44150
@ 2022-07-04 10:08 marxin at gcc dot gnu.org
  2022-07-04 10:09 ` [Bug target/106180] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-1418-g73f942c08deef3 marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-07-04 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106180
           Summary: [13 Regression] ICE in extract_insn, at recog.cc:2791
                    since 73f942c08deef3cce312263b3347f7a44dd44150
           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: marxin at gcc dot gnu.org
                CC: guihaoc at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following ICEs:

$ cat az.ii
struct PointT {
  double x, y;
};
using PointF = PointT;
template <int _Nm> struct __array_traits { typedef PointT _Type[_Nm]; };
template <int _Nm> struct array {
  typename __array_traits<_Nm>::_Type _M_elems;
};
float SampleGrid_low, SampleGrid_high;
using QuadrilateralF = array<4>;
struct PerspectiveTransform {
  PerspectiveTransform(QuadrilateralF, QuadrilateralF);
};
void SampleGrid() {
  PerspectiveTransform{{PointF{SampleGrid_high, SampleGrid_low},
SampleGrid_low,
                        SampleGrid_high},
                       {}};
}

$ g++ az.ii -O3 -c -ffloat-store
az.ii: In function ‘void SampleGrid()’:
az.ii:18:1: error: unrecognizable insn:
   18 | }
      | ^
(insn 20 19 21 2 (set (reg:V2DF 92)
        (float_extend:V2DF (vec_select:V2SF (mem:V4SF (plus:DI (reg/f:DI 77
virtual-stack-vars)
                        (const_int -176 [0xffffffffffffff50])) [4  S16 A128])
                (parallel [
                        (const_int 0 [0])
                        (const_int 1 [0x1])
                    ])))) "az.ii":15:3 -1
     (nil))
during RTL pass: vregs
az.ii:18:1: internal compiler error: in extract_insn, at recog.cc:2791
0x1807b59 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.cc:108
0x1807ba3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.cc:116
0x17a5e2c extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.cc:2791
0x137b1dc instantiate_virtual_regs_in_insn
        /home/marxin/Programming/gcc/gcc/function.cc:1611
0x137ca6f instantiate_virtual_regs
        /home/marxin/Programming/gcc/gcc/function.cc:1985
0x137cb58 execute
        /home/marxin/Programming/gcc/gcc/function.cc:2034
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2022-10-19 10:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 10:08 [Bug target/106180] New: [13 Regression] ICE in extract_insn, at recog.cc:2791 since 73f942c08deef3cce312263b3347f7a44dd44150 marxin at gcc dot gnu.org
2022-07-04 10:09 ` [Bug target/106180] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-1418-g73f942c08deef3 marxin at gcc dot gnu.org
2022-07-04 10:56 ` jakub at gcc dot gnu.org
2022-07-04 11:59 ` rguenth at gcc dot gnu.org
2022-07-05  2:11 ` wwwhhhyyy333 at gmail dot com
2022-07-05 12:26 ` jakub at gcc dot gnu.org
2022-07-06  1:39 ` haochen.jiang at intel dot com
2022-07-06 19:53 ` dcb314 at hotmail dot com
2022-07-06 20:07 ` ubizjak at gmail dot com
2022-07-07  3:23 ` haochen.jiang at intel dot com
2022-07-07  5:39 ` haochen.jiang at intel dot com
2022-07-07  5:40 ` haochen.jiang at intel dot com
2022-07-08  4:18 ` cvs-commit at gcc dot gnu.org
2022-10-19 10:35 ` rguenth 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).