Commit f736cb3e by Gabor Loki Committed by Geoffrey Keating

opts.c (decode_options): Do function inlining with very small max-inline-insns-* parameters when...

2004-04-02  Gabor Loki <loki@inf.u-szeged.hu>

       * opts.c (decode_options): Do function inlining with very small
       max-inline-insns-* parameters when optimizing for size.

From-SVN: r80359
parent ab40b100
2004-04-02 Gabor Loki <loki@inf.u-szeged.hu>
* opts.c (decode_options): Do function inlining with very small
max-inline-insns-* parameters when optimizing for size.
2004-04-02 Vladimir Makarov <vmakarov@redhat.com>
* config/i386/i386.h (TARGET_NOCONA): New macro.
......
......@@ -594,6 +594,15 @@ decode_options (unsigned int argc, const char **argv)
flag_reorder_blocks = 0;
}
if (optimize_size)
{
/* Inlining of very small functions usually reduces total size. */
set_param_value ("max-inline-insns-single", 5);
set_param_value ("max-inline-insns-auto", 5);
set_param_value ("max-inline-insns-rtl", 10);
flag_inline_functions = 1;
}
/* Initialize whether `char' is signed. */
flag_signed_char = DEFAULT_SIGNED_CHAR;
/* Initialize how much space enums occupy, by default. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment