public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/106886] New: ice in vect_schedule_slp_node
@ 2022-09-08  5:41 dcb314 at hotmail dot com
  2022-09-08  5:50 ` [Bug c/106886] " dcb314 at hotmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2022-09-08  5:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106886
           Summary: ice in vect_schedule_slp_node
           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 53547
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53547&action=edit
C source code

Recent gcc:

$ ../results/bin/gcc -c -O2 -march=bdver2 bug844.c
during GIMPLE pass: slp
rl2auxgeom.c: In function ‘rl2_set_coord_seq_value’:
rl2auxgeom.c:3980:1: internal compiler error: Segmentation fault
0xd67469 crash_signal(int)
        ../../trunk.git/gcc/toplev.cc:314
0x103b8f2 vect_schedule_slp_node(vec_info*, _slp_tree*, _slp_instance*)
        ../../trunk.git/gcc/vec.h:0
0x102f33f vect_schedule_scc(vec_info*, _slp_tree*, _slp_instance*,
hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_info> >&, int&,
vec<_slp_tree*, va_heap, vl_ptr>&)
        ../../trunk.git/gcc/tree-vect-slp.cc:9096
0x102f05c vect_schedule_scc(vec_info*, _slp_tree*, _slp_instance*,
hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_info> >&, int&,
vec<_slp_tree*, va_heap, vl_ptr>&)
        ../../trunk.git/gcc/tree-vect-slp.cc:9077

I will have my usual go at finding a git range and doing a reduction.

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

* [Bug c/106886] ice in vect_schedule_slp_node
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
@ 2022-09-08  5:50 ` dcb314 at hotmail dot com
  2022-09-08  6:09 ` dcb314 at hotmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2022-09-08  5:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Git range seems to be 2985049049f12b0a..0b0a3cdbff64d97e, from near the start
of the month.

There are 29 commits in that range.

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

* [Bug c/106886] ice in vect_schedule_slp_node
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
  2022-09-08  5:50 ` [Bug c/106886] " dcb314 at hotmail dot com
@ 2022-09-08  6:09 ` dcb314 at hotmail dot com
  2022-09-08  9:47 ` [Bug c/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027 marxin at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2022-09-08  6:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code seems to be:

rl2GeomExport64_little_endian, rl2GeomExport64_little_endian_arch;
rl2GeomExport64(unsigned char *p, double value) {
  union {
    unsigned char byte[8];
    double double_value
  } convert;
  convert.double_value = value;
  if (rl2GeomExport64_little_endian_arch)
    if (rl2GeomExport64_little_endian) {
      *(p + 7) = convert.byte[0];
      *(p + 6) = convert.byte[1];
      *(p + 5) = convert.byte[2];
      *(p + 4) = convert.byte[3];
      *(p + 3) = convert.byte[4];
      *(p + 2) = convert.byte[5];
      *(p + 1) = convert.byte[6];
      *p = convert.byte[7];
    } else
      *p = convert.byte[7];
}

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

* [Bug c/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
  2022-09-08  5:50 ` [Bug c/106886] " dcb314 at hotmail dot com
  2022-09-08  6:09 ` dcb314 at hotmail dot com
@ 2022-09-08  9:47 ` marxin at gcc dot gnu.org
  2022-09-08  9:58 ` [Bug tree-optimization/106886] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-09-08  9:47 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-09-08
            Summary|ice in                      |[13 Regression] ICE in
                   |vect_schedule_slp_node      |vect_schedule_slp_node
                   |                            |since
                   |                            |r13-2348-gd2694766dcfff027
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rsandifo at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r13-2348-gd2694766dcfff027.

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

* [Bug tree-optimization/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2022-09-08  9:47 ` [Bug c/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027 marxin at gcc dot gnu.org
@ 2022-09-08  9:58 ` rguenth at gcc dot gnu.org
  2022-09-08 11:48 ` rsandifo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-09-08  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
          Component|c                           |tree-optimization
            Version|12.0                        |13.0

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

* [Bug tree-optimization/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2022-09-08  9:58 ` [Bug tree-optimization/106886] " rguenth at gcc dot gnu.org
@ 2022-09-08 11:48 ` rsandifo at gcc dot gnu.org
  2022-09-08 15:18 ` cvs-commit at gcc dot gnu.org
  2022-09-08 15:20 ` rsandifo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2022-09-08 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rsandifo at gcc dot gnu.org

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Oops, looks like a silly typo.  Testing a patch.

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

* [Bug tree-optimization/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2022-09-08 11:48 ` rsandifo at gcc dot gnu.org
@ 2022-09-08 15:18 ` cvs-commit at gcc dot gnu.org
  2022-09-08 15:20 ` rsandifo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-08 15:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:338a5b0d7da84ef1f6c01dd96abf2c6bc830f403

commit r13-2544-g338a5b0d7da84ef1f6c01dd96abf2c6bc830f403
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Sep 8 16:18:28 2022 +0100

    vect: Fix scalar stmt typo in vect_optimize_slp_pass [PR106886]

    Fix a stupid typo in my vect_optimize_slp_pass patch.

    gcc/
            PR tree-optimization/106886
            * tree-vect-slp.cc
(vect_optimize_slp_pass::get_result_with_layout):
            Fix copying of scalar stmts.

    gcc/testsuite/
            PR tree-optimization/106886
            * gcc.dg/vect/bb-slp-layout-21.c: New test.

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

* [Bug tree-optimization/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027
  2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2022-09-08 15:18 ` cvs-commit at gcc dot gnu.org
@ 2022-09-08 15:20 ` rsandifo at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2022-09-08 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2022-09-08 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08  5:41 [Bug c/106886] New: ice in vect_schedule_slp_node dcb314 at hotmail dot com
2022-09-08  5:50 ` [Bug c/106886] " dcb314 at hotmail dot com
2022-09-08  6:09 ` dcb314 at hotmail dot com
2022-09-08  9:47 ` [Bug c/106886] [13 Regression] ICE in vect_schedule_slp_node since r13-2348-gd2694766dcfff027 marxin at gcc dot gnu.org
2022-09-08  9:58 ` [Bug tree-optimization/106886] " rguenth at gcc dot gnu.org
2022-09-08 11:48 ` rsandifo at gcc dot gnu.org
2022-09-08 15:18 ` cvs-commit at gcc dot gnu.org
2022-09-08 15:20 ` rsandifo 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).