summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authortmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-07 22:46:35 +0000
committertmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-07 22:46:35 +0000
commite83660d17a3ed9fb20339118d07452f5d95b27b2 (patch)
tree511d35f1a74a2743b0cff447bf98f0f22b8b7740 /gcc/toplev.c
parent7f14f00ae62edb51a46099dfa1a71bd7f4aa9129 (diff)
downloadgcc-e83660d17a3ed9fb20339118d07452f5d95b27b2.tar.gz
2012-12-07 Sriraman Tallan <tmsriram@google.com>
* toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are used together. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2c2898c65c7..2f7957505a6 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)
{