Introduce a new option -fopt-info:
commitf413766b125e2a59c12ad5c365cb2bf72d381df9
authorxur <xur@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 19:41:25 +0000 (20 19:41 +0000)
committerxur <xur@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 19:41:25 +0000 (20 19:41 +0000)
tree9ad853b1e73c505256894908e9834ff5cc2c5d9f
parent190f9c2958c419afd06759c73680d2eee3ee10b6
Introduce a new option -fopt-info:
 * fopt-info=0 or fno-opt-info: no message will be emitted.
 * fopt-info or fopt-info=1: emit important warnings and optimization
  messages with large performance impact.
 * fopt-info=2: warnings and optimization messages targeting power users.
 * fopt-info=3: informational messages for compiler developers.

Suppress verbose notes/warnings printed in FDO-use compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@180269 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
main/gcc/ChangeLog.google-main
main/gcc/common.opt
main/gcc/coverage.c
main/gcc/flag-types.h
main/gcc/mcf.c
main/gcc/opts.c
main/gcc/profile.c
main/gcc/testsuite/g++.dg/tree-ssa/dom-invalid.C
main/gcc/testsuite/gcc.dg/pr26570.c
main/gcc/testsuite/gcc.dg/pr32773.c
main/gcc/testsuite/gcc.dg/pr40209.c
main/gcc/tree-profile.c
main/gcc/value-prof.c