aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 42e47a4..ebdd212 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3237,6 +3237,7 @@ rest_of_compilation (decl)
if (optimize)
calculate_loop_depth (rtl_dump_file);
life_analysis (insns, max_reg_num (), rtl_dump_file, 1);
+ mark_constant_function ();
});
if (warn_uninitialized || extra_warnings)