* 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
+2012-12-07 Sriraman Tallan <tmsriram@google.com>
+
+ * toplev.c (process_options): Do not warn when -ffunction-sections
+ and -fprofile are used together.
+
2012-12-01 Richard Sandiford <rdsandiford@googlemail.com>
* MAINTAINERS: Remove self as RTL optimization maintainer.
}
}
- 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)
{