diff options
author | 2023-12-07 18:39:36 +0000 | |
---|---|---|
committer | 2023-12-07 18:40:00 +0000 | |
commit | cf2708c1e396fac46e374abba252b8b7b10f3270 (patch) | |
tree | 05e682a276312ec02bbc8d0048882f20ce50b2cc | |
parent | 11.4.0: drop now obsolete 77_all_all_PR112823_13_libiberty-warning.patch (diff) | |
download | gcc-patches-cf2708c1e396fac46e374abba252b8b7b10f3270.tar.gz gcc-patches-cf2708c1e396fac46e374abba252b8b7b10f3270.tar.bz2 gcc-patches-cf2708c1e396fac46e374abba252b8b7b10f3270.zip |
14.0.0: add botan/openmpt ICE patch
Bug: https://gcc.gnu.org/PR112869
Bug: https://gcc.gnu.org/PR112907
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | 14.0.0/gentoo/76_all_PR112869_cxx.patch | 20 | ||||
-rw-r--r-- | 14.0.0/gentoo/README.history | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/14.0.0/gentoo/76_all_PR112869_cxx.patch b/14.0.0/gentoo/76_all_PR112869_cxx.patch new file mode 100644 index 0000000..7ec000b --- /dev/null +++ b/14.0.0/gentoo/76_all_PR112869_cxx.patch @@ -0,0 +1,20 @@ +https://gcc.gnu.org/PR112869 (https://gcc.gnu.org/PR112869#c2) +https://gcc.gnu.org/PR112907 +--- a/gcc/cp/cp-gimplify.cc ++++ b/gcc/cp/cp-gimplify.cc +@@ -1177,13 +1177,9 @@ cp_fold_immediate_r (tree *stmt_p, int *walk_subtrees, void *data_) + ? tf_error : tf_none); + const tree_code code = TREE_CODE (stmt); + +- /* No need to look into types or unevaluated operands. +- NB: This affects cp_fold_r as well. */ ++ /* No need to look into types or unevaluated operands. */ + if (TYPE_P (stmt) || unevaluated_p (code) || in_immediate_context ()) +- { +- *walk_subtrees = 0; +- return NULL_TREE; +- } ++ return NULL_TREE; + + tree decl = NULL_TREE; + bool call_p = false; diff --git a/14.0.0/gentoo/README.history b/14.0.0/gentoo/README.history index dd1bec0..a8dc8d4 100644 --- a/14.0.0/gentoo/README.history +++ b/14.0.0/gentoo/README.history @@ -1,6 +1,7 @@ 10 ?? ??? 2023 - 75_all_PR112572-missing-notes-update.patch + + 76_all_PR112869_cxx.patch 9 20 Nov 2023 |