From: Sriraman Tallam Date: Fri, 7 Dec 2012 22:46:35 +0000 (+0000) Subject: toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6757fd34bc33bb64437b02400f8e0ab1bf7b1ea8;p=gcc.git toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are used together. 2012-12-07 Sriraman Tallan * toplev.c (process_options): Do not warn when -ffunction-sections and -fprofile are used together. From-SVN: r194311 --- diff --git a/ChangeLog b/ChangeLog index 5368aedcd5d..49b17deb513 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-12-07 Sriraman Tallan + + * toplev.c (process_options): Do not warn when -ffunction-sections + and -fprofile are used together. + 2012-12-01 Richard Sandiford * MAINTAINERS: Remove self as RTL optimization maintainer. 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) {