Commit 6757fd34 by Sriraman Tallam Committed by Sriraman Tallam

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
parent 8a1239ac
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.
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment