diff options
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 0c6dc99aecc..927813e2d74 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -944,9 +944,11 @@ cgraph_decide_inlining (void) } if (!flag_really_no_inline) - { - cgraph_decide_inlining_of_small_functions (); + cgraph_decide_inlining_of_small_functions (); + if (!flag_really_no_inline + && flag_inline_functions_called_once) + { if (dump_file) fprintf (dump_file, "\nDeciding on functions called once:\n"); |