public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106841] New: ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509
@ 2022-09-05 19:14 dcb314 at hotmail dot com
  2022-09-05 19:17 ` [Bug c++/106841] " dcb314 at hotmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2022-09-05 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106841
           Summary: ice in vect_get_vec_defs_for_operand, at
                    tree-vect-stmts.cc:1509
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 53540
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53540&action=edit
gzipped C++ source code

The attached C++ code does this:

during GIMPLE pass: vect
msh3.cpp: In member function 'virtual AnyType Square_Op::operator()(Stack)
const':
msh3.cpp:8044:9: internal compiler error: in vect_get_vec_defs_for_operand, at
tree-vect-stmts.cc:1509
 8044 | AnyType Square_Op::operator( )(Stack stack) const {
      |         ^~~~~~~~~
0x20af236 vect_get_vec_defs_for_operand(vec_info*, _stmt_vec_info*, unsigned
int, tree_node*, vec<tree_node*, va_heap, vl_ptr>*, tree_node*)
    ../../trunk.git/gcc/tree-vect-stmts.cc:1509
0x20cf508 vect_get_gather_scatter_ops(_loop_vec_info*, loop*, _stmt_vec_info*,
_slp_tree*, gather_scatter_info*, tree_node**, vec<tree_node*, va_heap,
vl_ptr>*)
    ../../trunk.git/gcc/tree-vect-stmts.cc:3066
0x20bab42 vectorizable_load(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*,
gimple**, _slp_tree*, vec<stmt_info_for_cost, va_heap, vl_ptr>*)
    ../../trunk.git/gcc/tree-vect-stmts.cc:9627

when compiled with -c -w -O3 -ffast-math -march=bdver2.

I will have a go at producing a git range.

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

end of thread, other threads:[~2022-10-07  6:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 19:14 [Bug c++/106841] New: ice in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509 dcb314 at hotmail dot com
2022-09-05 19:17 ` [Bug c++/106841] " dcb314 at hotmail dot com
2022-09-05 21:17 ` dcb314 at hotmail dot com
2022-09-06  4:49 ` [Bug c++/106841] [12/13 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509 since r12-2733-g31855ba6b16cd138 marxin at gcc dot gnu.org
2022-09-06  8:01 ` rguenth at gcc dot gnu.org
2022-09-06  8:55 ` cvs-commit at gcc dot gnu.org
2022-09-06  9:10 ` [Bug c++/106841] [12 " rguenth at gcc dot gnu.org
2022-09-09  9:50 ` cvs-commit at gcc dot gnu.org
2022-09-09  9:50 ` rguenth at gcc dot gnu.org
2022-10-06 15:56 ` kenneth.hoste at ugent dot be
2022-10-07  6:55 ` 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).