public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e @ 2024-01-18 22:27 acoplan at gcc dot gnu.org 2024-01-18 22:35 ` [Bug middle-end/113494] " pinskia at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: acoplan at gcc dot gnu.org @ 2024-01-18 22:27 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 Bug ID: 113494 Summary: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails on aarch64: ./xgcc -B . -c ~/toolchain/src/gcc/gcc/testsuite/gcc.c-torture/execute/20150611-1.c -S -o /dev/null -O3 during GIMPLE pass: vect /home/alecop01/toolchain/src/gcc/gcc/testsuite/gcc.c-torture/execute/20150611-1.c: In function ‘main’: /home/alecop01/toolchain/src/gcc/gcc/testsuite/gcc.c-torture/execute/20150611-1.c:5:1: internal compiler error: Segmentation fault 5 | main () | ^~~~ 0x30bdd30 crash_signal /home/alecop01/toolchain/src/gcc/gcc/toplev.cc:317 0x7f38d1b6708f ??? /build/glibc-wuryBv/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x26e6cf6 gimple_phi_result(gphi const*) /home/alecop01/toolchain/src/gcc/gcc/gimple.h:4608 0x34b7f10 slpeel_tree_duplicate_loop_to_edge_cfg(loop*, edge_def*, loop*, edge_def*, edge_def*, edge_def**, bool, vec<basic_block_def*, va_heap, vl_ptr>*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-loop-manip.cc:1751 0x34bceea vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*, tree_node**, tree_node**, tree_node**, int, bool, bool, tree_node**) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-loop-manip.cc:3342 0x34a85f3 vect_transform_loop(_loop_vec_info*, gimple*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-loop.cc:11929 0x34fdcda vect_transform_loops /home/alecop01/toolchain/src/gcc/gcc/tree-vectorizer.cc:1006 0x34fe445 try_vectorize_loop_1 /home/alecop01/toolchain/src/gcc/gcc/tree-vectorizer.cc:1152 0x34fe57e try_vectorize_loop /home/alecop01/toolchain/src/gcc/gcc/tree-vectorizer.cc:1182 0x34fe844 execute /home/alecop01/toolchain/src/gcc/gcc/tree-vectorizer.cc:1298 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/113494] [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org @ 2024-01-18 22:35 ` pinskia at gcc dot gnu.org 2024-01-18 22:39 ` 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-01-18 22:35 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 Keywords| |ice-on-valid-code ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/113494] [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org 2024-01-18 22:35 ` [Bug middle-end/113494] " pinskia at gcc dot gnu.org @ 2024-01-18 22:39 ` pinskia at gcc dot gnu.org 2024-01-19 9:17 ` 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-01-18 22:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2024-01-18 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like it also caused the same ICE with AVX512 enabled: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643395.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/113494] [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org 2024-01-18 22:35 ` [Bug middle-end/113494] " pinskia at gcc dot gnu.org 2024-01-18 22:39 ` pinskia at gcc dot gnu.org @ 2024-01-19 9:17 ` rguenth at gcc dot gnu.org 2024-01-19 9:43 ` cvs-commit at gcc dot gnu.org 2024-01-19 9:48 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-01-19 9:17 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 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 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I'm testing a patch. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/113494] [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org ` (2 preceding siblings ...) 2024-01-19 9:17 ` rguenth at gcc dot gnu.org @ 2024-01-19 9:43 ` cvs-commit at gcc dot gnu.org 2024-01-19 9:48 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-01-19 9:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 --- 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:6ce7008cfa1a240895ecca0898e7dbaecd975567 commit r14-8280-g6ce7008cfa1a240895ecca0898e7dbaecd975567 Author: Richard Biener <rguenther@suse.de> Date: Fri Jan 19 09:23:48 2024 +0100 tree-optimization/113494 - Fix two observed regressions with r14-8206 The following handles the situation where we lack a loop-closed PHI for a virtual operand because a loop exit goes to a code region not having any virtual use (an endless loop). It also handles the situation of edge redirection re-allocating a PHI node in the destination block so we have to re-lookup that before populating the new PHI argument. PR tree-optimization/113494 * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Handle endless loop on exit. Handle re-allocated PHI. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/113494] [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org ` (3 preceding siblings ...) 2024-01-19 9:43 ` cvs-commit at gcc dot gnu.org @ 2024-01-19 9:48 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-01-19 9:48 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113494 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- 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-01-19 9:48 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-01-18 22:27 [Bug middle-end/113494] New: [14 Regression] ICE (segfault) in slpeel_tree_duplicate_loop_to_edge_cfg since r14-8206-g0f38666680d6ad0e acoplan at gcc dot gnu.org 2024-01-18 22:35 ` [Bug middle-end/113494] " pinskia at gcc dot gnu.org 2024-01-18 22:39 ` pinskia at gcc dot gnu.org 2024-01-19 9:17 ` rguenth at gcc dot gnu.org 2024-01-19 9:43 ` cvs-commit at gcc dot gnu.org 2024-01-19 9:48 ` 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).