3b63abfbfc
Release Notes: https://gcc.gnu.org/pipermail/gcc/2024-May/243980.html Remove upstreamed patches: - patches-13.x/020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch - patches-13.x/021-libcc1-fix-vector-include.patch - patches-13.x/400-LoongArch-Fix-MUSL_DYNAMIC_LINKER.patch - patches-13.x/401-LoongArch-Modify-MUSL_DYNAMIC_LINKER.patch Refresh patches: - patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch - patches-13.x/970-macos_arm64-building-fix.patch Signed-off-by: Olcay Korkmaz <nuke_mania@hotmail.com>
22 lines
629 B
Diff
22 lines
629 B
Diff
commit ecf7671b769fe96f7b5134be442089f8bdba55d2
|
|
Author: Felix Fietkau <nbd@nbd.name>
|
|
Date: Thu Aug 4 20:29:45 2016 +0200
|
|
|
|
gcc: add a patch to generate better code with Os on mips
|
|
|
|
Also happens to reduce compressed code size a bit
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
--- a/gcc/config/mips/mips.cc
|
|
+++ b/gcc/config/mips/mips.cc
|
|
@@ -20219,7 +20219,7 @@ mips_option_override (void)
|
|
flag_pcc_struct_return = 0;
|
|
|
|
/* Decide which rtx_costs structure to use. */
|
|
- if (optimize_size)
|
|
+ if (0 && optimize_size)
|
|
mips_cost = &mips_rtx_cost_optimize_size;
|
|
else
|
|
mips_cost = &mips_rtx_cost_data[mips_tune];
|