aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-03 22:55:47 +0000
committerSam James <sam@gentoo.org>2024-03-03 22:55:47 +0000
commitc8305c9bdf09abe3e2f89783fe62f2e4049468fa (patch)
tree99837bc929f52bb9c1bbfe59a0814741743070f3
parent13.2.0: add 91_all_riscv_PR106271-multilib-bootstrap.patch (diff)
downloadgcc-patches-c8305c9bdf09abe3e2f89783fe62f2e4049468fa.tar.gz
gcc-patches-c8305c9bdf09abe3e2f89783fe62f2e4049468fa.tar.bz2
gcc-patches-c8305c9bdf09abe3e2f89783fe62f2e4049468fa.zip
14.0.0: add 76_all_ppc_PR112868-no-checking-many.patch
Bug: https://gcc.gnu.org/PR112868 Bug: https://gcc.gnu.org/PR113652 (sort of) Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--14.0.0/gentoo/76_all_ppc_PR112868-no-checking-many.patch42
-rw-r--r--14.0.0/gentoo/README.history4
2 files changed, 46 insertions, 0 deletions
diff --git a/14.0.0/gentoo/76_all_ppc_PR112868-no-checking-many.patch b/14.0.0/gentoo/76_all_ppc_PR112868-no-checking-many.patch
new file mode 100644
index 0000000..dc9f5e5
--- /dev/null
+++ b/14.0.0/gentoo/76_all_ppc_PR112868-no-checking-many.patch
@@ -0,0 +1,42 @@
+https://gcc.gnu.org/PR112868 (specifically https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112868#c8)
+(see also https://gcc.gnu.org/PR113652)
+
+--- a/gcc/config/rs6000/rs6000.h
++++ b/gcc/config/rs6000/rs6000.h
+@@ -94,12 +94,6 @@
+ "%{mdejagnu-*: %<mdejagnu-*}", \
+ SUBTARGET_DRIVER_SELF_SPECS
+
+-#if CHECKING_P
+-#define ASM_OPT_ANY ""
+-#else
+-#define ASM_OPT_ANY " -many"
+-#endif
+-
+ /* Common ASM definitions used by ASM_SPEC among the various targets for
+ handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.cc to
+ provide the default assembler options if the user uses -mcpu=native, so if
+@@ -166,8 +160,7 @@
+ mvsx: -mpower7; \
+ mpowerpc64: -mppc64;: %(asm_default)}; \
+ :%eMissing -mcpu option in ASM_CPU_SPEC?\n} \
+-%{mvsx: -mvsx -maltivec; maltivec: -maltivec}" \
+-ASM_OPT_ANY
++%{mvsx: -mvsx -maltivec; maltivec: -maltivec}"
+
+ #define CPP_DEFAULT_SPEC ""
+
+--- a/gcc/testsuite/lib/target-supports.exp
++++ b/gcc/testsuite/lib/target-supports.exp
+@@ -7285,7 +7285,7 @@ proc check_effective_target_powerpc_ppu_ok { } {
+ #endif
+ return 0;
+ }
+- }]
++ } "-mcpu=cell"]
+ } else {
+ return 0
+ }
+
+
+
diff --git a/14.0.0/gentoo/README.history b/14.0.0/gentoo/README.history
index dd7c933..66c059f 100644
--- a/14.0.0/gentoo/README.history
+++ b/14.0.0/gentoo/README.history
@@ -1,3 +1,7 @@
+24 3 Mar 2024
+
+ + 76_all_ppc_PR112868-no-checking-many.patch
+
23 19 Feb 2024
- 75_all_PR113734_middle_end_update_vector_loop_bounds.patch