diff options
author | Sam James <sam@gentoo.org> | 2024-01-19 07:44:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-19 07:44:41 +0000 |
commit | a1e21703f86e5d60a68a53839774535ccdb8403e (patch) | |
tree | 81cc35b26af537678b378451761af7af8c47550c /14.0.0 | |
parent | 13.2.0: add 91_all_PR113258_libstdc-Prefer-posix_memalign-for-aligned-new.patch (diff) | |
download | gcc-patches-a1e21703f86e5d60a68a53839774535ccdb8403e.tar.gz gcc-patches-a1e21703f86e5d60a68a53839774535ccdb8403e.tar.bz2 gcc-patches-a1e21703f86e5d60a68a53839774535ccdb8403e.zip |
14.0.0: add 76_all_PR113467-vect-miscompile.patch
Bug: https://gcc.gnu.org/PR113467
Bug: https://bugs.gentoo.org/922195
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '14.0.0')
-rw-r--r-- | 14.0.0/gentoo/76_all_PR113467-vect-miscompile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/14.0.0/gentoo/76_all_PR113467-vect-miscompile.patch b/14.0.0/gentoo/76_all_PR113467-vect-miscompile.patch new file mode 100644 index 0000000..aee5ddf --- /dev/null +++ b/14.0.0/gentoo/76_all_PR113467-vect-miscompile.patch @@ -0,0 +1,15 @@ +https://gcc.gnu.org/PR113467 + +Disable early-exit peeling variants. +--- a/gcc/tree-vect-loop.cc ++++ b/gcc/tree-vect-loop.cc +@@ -998,6 +998,9 @@ vec_init_loop_exit_info (class loop *loop) + } + } + ++ if (candidate && candidate->src != EDGE_PRED (loop->latch, 0)->src) ++ return NULL; ++ + return candidate; + } + |