diff options
author | Sriraman Tallam <tmsriram@google.com> | 2012-12-07 22:46:35 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@gcc.gnu.org> | 2012-12-07 22:46:35 +0000 |
commit | 6757fd34bc33bb64437b02400f8e0ab1bf7b1ea8 (patch) | |
tree | 511d35f1a74a2743b0cff447bf98f0f22b8b7740 /gcc | |
parent | 8a1239acfc0c9103059cc388132a451f7782d9e2 (diff) | |
download | gcc-6757fd34bc33bb64437b02400f8e0ab1bf7b1ea8.zip gcc-6757fd34bc33bb64437b02400f8e0ab1bf7b1ea8.tar.gz gcc-6757fd34bc33bb64437b02400f8e0ab1bf7b1ea8.tar.bz2 |
toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are used together.
2012-12-07 Sriraman Tallan <tmsriram@google.com>
* toplev.c (process_options): Do not warn when -ffunction-sections
and -fprofile are used together.
From-SVN: r194311
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/toplev.c | 6 |
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) { |