public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment
@ 2023-07-10 15:16 dje at gcc dot gnu.org
  2023-07-10 15:16 ` [Bug tree-optimization/110614] " dje at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dje at gcc dot gnu.org @ 2023-07-10 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110614
           Summary: [14 Regression] ICE in vect_supportable_dr_alignment
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc*-*-*

Beginning with

commit dd86a5a69cbda40cf76388a65d3317c91cb2b501
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Jun 22 11:40:46 2023 +0200

A number of GCC testsuite test cases ICE in vect_supportable_dr_alignment()

gcc/testsuite/gcc.dg/torture/pr68379.c

$ ./xgcc -B./ -S -O2 -mcpu=power7 pr68379.c 
during GIMPLE pass: vect
pr68379.c: In function ‘fn1’:
pr68379.c:6:1: internal compiler error: Segmentation fault
    6 | fn1 ()
      | ^~~
0x10c1d833 crash_signal
        /home/dje/src/gcc/gcc/toplev.cc:314
0x11b4ebd0 vect_supportable_dr_alignment(vec_info*, dr_vec_info*, tree_node*,
int)
        /home/dje/src/gcc/gcc/tree-vect-data-refs.cc:6833
0x11b53717 vect_enhance_data_refs_alignment(_loop_vec_info*)
        /home/dje/src/gcc/gcc/tree-vect-data-refs.cc:2044
0x10fc35bb vect_analyze_loop_2
        /home/dje/src/gcc/gcc/tree-vect-loop.cc:2783
0x10fc4d8f vect_analyze_loop_1
        /home/dje/src/gcc/gcc/tree-vect-loop.cc:3316
0x10fc56bb vect_analyze_loop(loop*, vec_info_shared*)
        /home/dje/src/gcc/gcc/tree-vect-loop.cc:3470
0x110174e7 try_vectorize_loop_1
        /home/dje/src/gcc/gcc/tree-vectorizer.cc:1064
0x110174e7 try_vectorize_loop
        /home/dje/src/gcc/gcc/tree-vectorizer.cc:1180
0x11017fa3 execute
        /home/dje/src/gcc/gcc/tree-vectorizer.cc:1296

The test cases succeed with Power8, Power9, or Power10, but ICE with
-mcpu=power7. command line option.

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
@ 2023-07-10 15:16 ` dje at gcc dot gnu.org
  2023-07-10 18:30 ` seurer at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dje at gcc dot gnu.org @ 2023-07-10 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-07-10
     Ever confirmed|0                           |1

--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed.

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
  2023-07-10 15:16 ` [Bug tree-optimization/110614] " dje at gcc dot gnu.org
@ 2023-07-10 18:30 ` seurer at gcc dot gnu.org
  2023-07-11  7:44 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-07-10 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from seurer at gcc dot gnu.org ---
This may be a dupe of PR110616 (or vice-versa).

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
  2023-07-10 15:16 ` [Bug tree-optimization/110614] " dje at gcc dot gnu.org
  2023-07-10 18:30 ` seurer at gcc dot gnu.org
@ 2023-07-11  7:44 ` rguenth at gcc dot gnu.org
  2023-07-11  8:54 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-11  7:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |14.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-07-11  7:44 ` rguenth at gcc dot gnu.org
@ 2023-07-11  8:54 ` rguenth at gcc dot gnu.org
  2023-07-11 10:23 ` cvs-commit at gcc dot gnu.org
  2023-07-11 10:31 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-11  8:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 110616 has been marked as a duplicate of this bug. ***

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-07-11  8:54 ` rguenth at gcc dot gnu.org
@ 2023-07-11 10:23 ` cvs-commit at gcc dot gnu.org
  2023-07-11 10:31 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-11 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:4736ddd11874fe215662ac18877ce8eded1f5976

commit r14-2430-g4736ddd11874fe215662ac18877ce8eded1f5976
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Jul 11 10:40:19 2023 +0200

    tree-optimization/110614 - SLP splat and re-align (optimized)

    The following properly guards the re-align (optimized) paths used
    on old power CPUs for the added case of SLP splats from non-grouped
    loads.  Testcases are existing in dg-torture.

            PR tree-optimization/110614
            * tree-vect-data-refs.cc (vect_supportable_dr_alignment):
            SLP splats are not suitable for re-align ops.

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

* [Bug tree-optimization/110614] [14 Regression] ICE in vect_supportable_dr_alignment
  2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-07-11 10:23 ` cvs-commit at gcc dot gnu.org
@ 2023-07-11 10:31 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-11 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Should be fixed.  Thanks for reporting.

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

end of thread, other threads:[~2023-07-11 10:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10 15:16 [Bug tree-optimization/110614] New: [14 Regression] ICE in vect_supportable_dr_alignment dje at gcc dot gnu.org
2023-07-10 15:16 ` [Bug tree-optimization/110614] " dje at gcc dot gnu.org
2023-07-10 18:30 ` seurer at gcc dot gnu.org
2023-07-11  7:44 ` rguenth at gcc dot gnu.org
2023-07-11  8:54 ` rguenth at gcc dot gnu.org
2023-07-11 10:23 ` cvs-commit at gcc dot gnu.org
2023-07-11 10:31 ` 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).