aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2c2898c..2f79575 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1478,12 +1478,6 @@ process_options (void)
}
}
- if (flag_function_sections && profile_flag)
- {
- warning (0, "-ffunction-sections disabled; it makes profiling impossible");
- flag_function_sections = 0;
- }
-
#ifndef HAVE_prefetch
if (flag_prefetch_loop_arrays > 0)
{