public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 @ 2024-02-10 13:38 ppalka at gcc dot gnu.org 2024-02-10 20:29 ` [Bug tree-optimization/113863] " pinskia at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: ppalka at gcc dot gnu.org @ 2024-02-10 13:38 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 Bug ID: 113863 Summary: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- $ cat sort.cc void test_sort_helper(int *); int test_sort_driver_driver_real_last; void test_sort_driver_driver(int start, int *e, int *f) { for (int *l = e; l > f;) { *--l = start; if (f == l) test_sort_helper(&test_sort_driver_driver_real_last); if (start) test_sort_driver_driver(start - 1, e, f); } } $ gcc -O3 -msse4.1 sort.ii sort.ii: In function ‘void test_sort_driver_driver(int, int*, int*)’: sort.ii:3:6: error: definition in block 167 does not dominate use in block 166 3 | void test_sort_driver_driver(int start, int *e, int *f) { | ^~~~~~~~~~~~~~~~~~~~~~~ ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113863] [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org @ 2024-02-10 20:29 ` pinskia at gcc dot gnu.org 2024-02-10 20:31 ` pinskia at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-02-10 20:29 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |pinskia at gcc dot gnu.org Target Milestone|--- |14.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113863] [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org 2024-02-10 20:29 ` [Bug tree-optimization/113863] " pinskia at gcc dot gnu.org @ 2024-02-10 20:31 ` pinskia at gcc dot gnu.org 2024-02-12 8:43 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-02-10 20:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-02-10 Target| |aarch64 x86_64 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Also ICEs at -O3 for aarch64. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113863] [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org 2024-02-10 20:29 ` [Bug tree-optimization/113863] " pinskia at gcc dot gnu.org 2024-02-10 20:31 ` pinskia at gcc dot gnu.org @ 2024-02-12 8:43 ` rguenth at gcc dot gnu.org 2024-02-12 10:53 ` cvs-commit at gcc dot gnu.org 2024-02-12 10:53 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-02-12 8:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- It looks OK after peeling. LOOP_VINFO_EARLY_BRK_VUSES is empty, but we have a stray virtual PHI in the body we fail to update: <bb 167> [local count: 446046556]: # .MEM_164 = PHI <.MEM_163(166)> if (f_8(D) < l_162) goto <bb 169>; [88.31%] else goto <bb 207>; [11.69%] things go downhill from here. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113863] [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org ` (2 preceding siblings ...) 2024-02-12 8:43 ` rguenth at gcc dot gnu.org @ 2024-02-12 10:53 ` cvs-commit at gcc dot gnu.org 2024-02-12 10:53 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-02-12 10:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 --- Comment #3 from GCC 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:1e3f78dbb328a2f2db8def241372cb947d9cb7eb commit r14-8925-g1e3f78dbb328a2f2db8def241372cb947d9cb7eb Author: Richard Biener <rguenther@suse.de> Date: Mon Feb 12 10:40:42 2024 +0100 tree-optimization/113863 - elide degenerate virtual PHIs when moving ee stores This makes sure to elide degenerate virtual PHIs when moving stores across early exits. PR tree-optimization/113863 * tree-vect-data-refs.cc (vect_analyze_early_break_dependences): Record crossed virtual PHIs. * tree-vect-loop.cc (move_early_exit_stmts): Elide crossed virtual PHIs. * gcc.dg/vect/pr113863.c: New testcase. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/113863] [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org ` (3 preceding siblings ...) 2024-02-12 10:53 ` cvs-commit at gcc dot gnu.org @ 2024-02-12 10:53 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-02-12 10:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113863 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-02-12 10:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-02-10 13:38 [Bug tree-optimization/113863] New: [14 Regression] ICE verify_ssa failed with -O3 -msse4.1 since r14-8768 ppalka at gcc dot gnu.org 2024-02-10 20:29 ` [Bug tree-optimization/113863] " pinskia at gcc dot gnu.org 2024-02-10 20:31 ` pinskia at gcc dot gnu.org 2024-02-12 8:43 ` rguenth at gcc dot gnu.org 2024-02-12 10:53 ` cvs-commit at gcc dot gnu.org 2024-02-12 10:53 ` 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).