[google] Suppress FDO-use related notes/warnings (issue5294043)

2011-10-18 Thread Rong Xu
Suppress verbose notes/warnings printed in FDO-use compilation. (1) Add option -fprofile-use-verbose. When this option is on, FDO-use compilation prints out all the notes as that of today. When this option is off (the default), all notes are suppressed. (2) Make several unconditional warnings

Re: [google] Suppress FDO-use related notes/warnings (issue5294043)

2011-10-18 Thread Xinliang David Li
On Tue, Oct 18, 2011 at 3:48 PM, Rong Xu x...@google.com wrote: Suppress verbose notes/warnings printed in FDO-use compilation. (1) Add option -fprofile-use-verbose. Gcc currently does not emit informational messages on high level transformations such as inlining, value profiling

Re: [google] Suppress FDO-use related notes/warnings (issue5294043)

2011-10-18 Thread Rong Xu
Got a bad patch for profile. Thanks to David for catching this. Here is the correct one: 2011-10-18   Rong Xu  x...@google.com        * gcc/common.opt (fprofile-use-verbose): New flag.        * gcc/value-prof.c (check_ic_counter): guard notes by          flag_profile_use_verbose.