commit:     fb2901cba5026337511402c7745b2eb317e9b35c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 11:03:42 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 11:03:52 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=fb2901cb

14.0.0: add 75_all_PR112572-missing-notes-update.patch

Fixes LLVM, mesa, pipewire miscompilation.

Bug: https://gcc.gnu.org/PR112568
Bug: https://gcc.gnu.org/PR112572
Bug: https://bugs.gentoo.org/917496
Bug: https://bugs.gentoo.org/917486
Signed-off-by: Sam James <sam <AT> gentoo.org>

 14.0.0/gentoo/75_all_PR112572-missing-notes-update.patch | 14 ++++++++++++++
 14.0.0/gentoo/README.history                             |  4 ++++
 2 files changed, 18 insertions(+)

diff --git a/14.0.0/gentoo/75_all_PR112572-missing-notes-update.patch 
b/14.0.0/gentoo/75_all_PR112572-missing-notes-update.patch
new file mode 100644
index 0000000..74e42d3
--- /dev/null
+++ b/14.0.0/gentoo/75_all_PR112572-missing-notes-update.patch
@@ -0,0 +1,14 @@
+https://gcc.gnu.org/PR112568
+https://gcc.gnu.org/PR112572
+https://bugs.gentoo.org/917496
+https://bugs.gentoo.org/917486
+--- a/gcc/compare-elim.cc
++++ b/gcc/compare-elim.cc
+@@ -908,6 +908,7 @@ static unsigned int
+ execute_compare_elim_after_reload (void)
+ {
+   df_set_flags (DF_LR_RUN_DCE);
++  df_note_add_problem ();
+   df_analyze ();
+
+   gcc_checking_assert (!all_compares.exists ());

diff --git a/14.0.0/gentoo/README.history b/14.0.0/gentoo/README.history
index bcf2394..415eb03 100644
--- a/14.0.0/gentoo/README.history
+++ b/14.0.0/gentoo/README.history
@@ -1,3 +1,7 @@
+9      ?? ??? 2023
+
+       + 75_all_PR112572-missing-notes-update.patch
+
 8      05 Nov 2023
 
        - 75_all_PR54179_genemit-Split-insn-emit.cc-into-ten-files.patch

Reply via email to