This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Optimization Diary


Devang Patel <devang.patel@gmail.com> writes:

| Tom Tromey wrote:
| > * Why put the optimization diary into the object file?
| >   Why not just have -Wdiary and print it along with all the warnings?
| >   (I'm sure there's an answer to this, it would just be nice if it
| >   were in the document...)
| >
| These are not warnings and they should not cause build failures
| when -Werror is used, hence warnings are not suitable medium to
| communicate this info.

The diagnostic machinery has the "note" diagnostic kind; and the
diagnostic can have customized prefixes, e.g. "note: ".

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]