From f8c7e935ef8060b8ab2f5ca52832ef8dfea361bc Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Sat, 3 Sep 2016 18:31:14 +0800 Subject: toolchain/gcc: bump GCC 6.1.0 to 6.2.0 Compile and run tested on ar71xx and mvebu Signed-off-by: Syrone Wong --- .../gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch (limited to 'toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch') diff --git a/toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch new file mode 100644 index 0000000000..d76bd8cb1d --- /dev/null +++ b/toolchain/gcc/patches/6.2.0/300-mips_Os_cpu_rtx_cost_model.patch @@ -0,0 +1,11 @@ +--- a/gcc/config/mips/mips.c ++++ b/gcc/config/mips/mips.c +@@ -17928,7 +17928,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]; -- cgit v1.2.3