diff options
author | 2024-02-03 07:52:17 +0000 | |
---|---|---|
committer | 2024-02-03 07:52:17 +0000 | |
commit | 3ab6b70bf9ee185da7e092e1df20753cdc35d710 (patch) | |
tree | 8841be9f7d18e62192ca4a096737e9d32348a535 | |
parent | 14.0.0: drop 76_all_PR113467-vect-miscompile.patch (diff) | |
download | gcc-patches-3ab6b70bf9ee185da7e092e1df20753cdc35d710.tar.gz gcc-patches-3ab6b70bf9ee185da7e092e1df20753cdc35d710.tar.bz2 gcc-patches-3ab6b70bf9ee185da7e092e1df20753cdc35d710.zip |
14.0.0: add PR113731 crash fix
Bug: https://gcc.gnu.org/PR113731
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | 14.0.0/gentoo/76_all_PR113731-vect-crash.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/14.0.0/gentoo/76_all_PR113731-vect-crash.patch b/14.0.0/gentoo/76_all_PR113731-vect-crash.patch new file mode 100644 index 0000000..671f11f --- /dev/null +++ b/14.0.0/gentoo/76_all_PR113731-vect-crash.patch @@ -0,0 +1,13 @@ +https://gcc.gnu.org/PR113731 +--- a/gcc/tree-vect-loop.cc ++++ b/gcc/tree-vect-loop.cc +@@ -11801,7 +11801,8 @@ move_early_exit_stmts (loop_vec_info loop_vinfo) + + gimple_stmt_iterator stmt_gsi = gsi_for_stmt (stmt); + gsi_move_before (&stmt_gsi, &dest_gsi); +- gsi_prev (&dest_gsi); ++ if (!gsi_end_p (dest_gsi)) ++ gsi_prev (&dest_gsi); + } + + /* Update all the stmts with their new reaching VUSES. */ |