mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
8a1239acfc
commit
6757fd34bc
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2012-12-01 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* MAINTAINERS: Remove self as RTL optimization maintainer.
|
* 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
|
#ifndef HAVE_prefetch
|
||||||
if (flag_prefetch_loop_arrays > 0)
|
if (flag_prefetch_loop_arrays > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue