public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113169] New: [14 Regression] ICE in in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa
@ 2023-12-29 10:52 doko at gcc dot gnu.org
  2023-12-29 11:05 ` [Bug target/113169] " doko at gcc dot gnu.org
  2023-12-29 14:48 ` [Bug target/113169] [14 Regression] ICE " tnfchris at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: doko at gcc dot gnu.org @ 2023-12-29 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113169
           Summary: [14 Regression] ICE in in vect_peel_nonlinear_iv_init,
                    at tree-vect-loop.cc:9420 on amdgcn-amdhsa
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20231229 on amdgcn-amdhsa. the offload compiler itself is built
with trunk 20231229.


$ cat l64a.i
char _l64a_buf[1];
void _l64a_r() {
  char *ptr;
  int i;
  long tmp;
  ptr = _l64a_buf;
  i = 0;
  for (; i < 6; ++i) {
    if (tmp == 0)
      break;
    *ptr++ = tmp >>= 6;
  }
}

 build-gcn/gcc/xgcc -Bbuild-gcn/gcc/ -c -march=gfx900 -O2 -fno-builtin l64a.i
during GIMPLE pass: vect
l64a.i: In function '_l64a_r':
l64a.i:2:6: internal compiler error: in vect_peel_nonlinear_iv_init, at
tree-vect-loop.cc:9420
    2 | void _l64a_r() {
      |      ^~~~~~~
0x70fa53 vect_peel_nonlinear_iv_init(gimple**, tree_node*, tree_node*,
tree_node*, vect_induction_op_type)
        ../../src-gcn/gcc/tree-vect-loop.cc:9420
0xf9b415 vect_update_ivs_after_vectorizer
        ../../src-gcn/gcc/tree-vect-loop-manip.cc:2267
0xf9b415 vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*, tree_node**,
tree_node**, tree_node**, int, bool, bool, tree_node**)
        ../../src-gcn/gcc/tree-vect-loop-manip.cc:3399
0xf8bd42 vect_transform_loop(_loop_vec_info*, gimple*)
        ../../src-gcn/gcc/tree-vect-loop.cc:11911
0xfc9b9b vect_transform_loops
        ../../src-gcn/gcc/tree-vectorizer.cc:1006
0xfca21d try_vectorize_loop_1
        ../../src-gcn/gcc/tree-vectorizer.cc:1152
0xfca21d try_vectorize_loop
        ../../src-gcn/gcc/tree-vectorizer.cc:1182
0xfca6b4 execute
        ../../src-gcn/gcc/tree-vectorizer.cc:1298
Please submit a full bug report, with preprocessed source (by using
-freport-bug).

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

* [Bug target/113169] [14 Regression] ICE in in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa
  2023-12-29 10:52 [Bug target/113169] New: [14 Regression] ICE in in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa doko at gcc dot gnu.org
@ 2023-12-29 11:05 ` doko at gcc dot gnu.org
  2023-12-29 14:48 ` [Bug target/113169] [14 Regression] ICE " tnfchris at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: doko at gcc dot gnu.org @ 2023-12-29 11:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
last known successful build was 20231214

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

* [Bug target/113169] [14 Regression] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa
  2023-12-29 10:52 [Bug target/113169] New: [14 Regression] ICE in in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa doko at gcc dot gnu.org
  2023-12-29 11:05 ` [Bug target/113169] " doko at gcc dot gnu.org
@ 2023-12-29 14:48 ` tnfchris at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2023-12-29 14:48 UTC (permalink / raw)
  To: gcc-bugs

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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Thanks, dup of #113163 patch already submitted waiting review.

*** This bug has been marked as a duplicate of bug 113163 ***

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

end of thread, other threads:[~2023-12-29 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-29 10:52 [Bug target/113169] New: [14 Regression] ICE in in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 on amdgcn-amdhsa doko at gcc dot gnu.org
2023-12-29 11:05 ` [Bug target/113169] " doko at gcc dot gnu.org
2023-12-29 14:48 ` [Bug target/113169] [14 Regression] ICE " tnfchris 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).