diff options
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 1451d2b..fbeb094 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2728,7 +2728,7 @@ cgraph_propagate_frequency (struct cgraph_node *node) cgraph_node_name (node)); changed = true; } - if (maybe_executed_once && node->frequency != NODE_FREQUENCY_EXECUTED_ONCE) + else if (maybe_executed_once && node->frequency != NODE_FREQUENCY_EXECUTED_ONCE) { node->frequency = NODE_FREQUENCY_EXECUTED_ONCE; if (dump_file) |