You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
627 B

  1. commit ecf7671b769fe96f7b5134be442089f8bdba55d2
  2. Author: Felix Fietkau <nbd@nbd.name>
  3. Date: Thu Aug 4 20:29:45 2016 +0200
  4. gcc: add a patch to generate better code with Os on mips
  5. Also happens to reduce compressed code size a bit
  6. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  7. --- a/gcc/config/mips/mips.c
  8. +++ b/gcc/config/mips/mips.c
  9. @@ -19790,7 +19790,7 @@ mips_option_override (void)
  10. flag_pcc_struct_return = 0;
  11. /* Decide which rtx_costs structure to use. */
  12. - if (optimize_size)
  13. + if (0 && optimize_size)
  14. mips_cost = &mips_rtx_cost_optimize_size;
  15. else
  16. mips_cost = &mips_rtx_cost_data[mips_tune];