Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5318)

Issue 5294043: [google] Suppress FDO-use related notes/warnings

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by xur
Modified:
12 years, 6 months ago
Reviewers:
richard.guenther, andi, davidxl
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/main/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : new patches using -fopt-info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -89 lines) Patch
M gcc/common.opt View 1 2 chunks +13 lines, -5 lines 0 comments Download
M gcc/coverage.c View 1 7 chunks +49 lines, -29 lines 0 comments Download
M gcc/flag-types.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M gcc/mcf.c View 1 1 chunk +2 lines, -1 line 0 comments Download
M gcc/opts.c View 1 1 chunk +9 lines, -0 lines 0 comments Download
M gcc/profile.c View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gcc/testsuite/g++.dg/tree-ssa/dom-invalid.C View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/gcc.dg/pr26570.c View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/gcc.dg/pr32773.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gcc/testsuite/gcc.dg/pr40209.c View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/tree-profile.c View 1 4 chunks +20 lines, -14 lines 0 comments Download
M gcc/value-prof.c View 1 8 chunks +51 lines, -33 lines 0 comments Download

Messages

Total messages: 23
xur
Suppress verbose notes/warnings printed in FDO-use compilation. (1) Add option -fprofile-use-verbose. When this option is ...
12 years, 6 months ago (2011-10-18 22:49:07 UTC) #1
davidxl
On Tue, Oct 18, 2011 at 3:48 PM, Rong Xu <xur@google.com> wrote: > Suppress verbose ...
12 years, 6 months ago (2011-10-19 00:06:54 UTC) #2
xur
Got a bad patch for profile.c. Thanks to David for catching this. Here is the ...
12 years, 6 months ago (2011-10-19 01:26:43 UTC) #3
xur
Got a bad patch for profile. Thanks to David for catching this. Here is the ...
12 years, 6 months ago (2011-10-19 01:32:38 UTC) #4
xur
After some off-line discussion, we decided to use a more general approach to control the ...
12 years, 6 months ago (2011-10-19 23:28:09 UTC) #5
andi_firstfloor.org
xur@google.com (Rong Xu) writes: > After some off-line discussion, we decided to use a more ...
12 years, 6 months ago (2011-10-19 23:33:27 UTC) #6
xur
OK. I'll keep it in mind. We probably won't include all the messages in one ...
12 years, 6 months ago (2011-10-19 23:43:57 UTC) #7
richard.guenther_gmail.com
On Thu, Oct 20, 2011 at 1:33 AM, Andi Kleen <andi@firstfloor.org> wrote: > xur@google.com (Rong ...
12 years, 6 months ago (2011-10-20 08:21:28 UTC) #8
davidxl
On Thu, Oct 20, 2011 at 1:21 AM, Richard Guenther <richard.guenther@gmail.com> wrote: > On Thu, ...
12 years, 6 months ago (2011-10-20 17:11:24 UTC) #9
xur
Richard, Thanks for the comments. Let me give some background of the patch: The initial ...
12 years, 6 months ago (2011-10-20 17:29:07 UTC) #10
davidxl
While discussion for trunk version is still going, it is ok for google branches. thanks, ...
12 years, 6 months ago (2011-10-20 17:46:11 UTC) #11
andi_firstfloor.org
> This warnings/notes are caused > by inconsistent profile due to data race (which is ...
12 years, 6 months ago (2011-10-20 19:53:24 UTC) #12
davidxl
On Thu, Oct 20, 2011 at 12:53 PM, Andi Kleen <andi@firstfloor.org> wrote: >> This warnings/notes ...
12 years, 6 months ago (2011-10-20 20:10:05 UTC) #13
richard.guenther_gmail.com
On Thu, Oct 20, 2011 at 7:11 PM, Xinliang David Li <davidxl@google.com> wrote: > On ...
12 years, 6 months ago (2011-10-21 08:33:00 UTC) #14
davidxl
There are two proposals here. One is -fopt-info which prints out informational notes to stderr, ...
12 years, 6 months ago (2011-10-21 16:48:25 UTC) #15
richard.guenther_gmail.com
On Fri, Oct 21, 2011 at 6:48 PM, Xinliang David Li <davidxl@google.com> wrote: > There ...
12 years, 6 months ago (2011-10-23 10:18:57 UTC) #16
davidxl
On Sun, Oct 23, 2011 at 3:18 AM, Richard Guenther <richard.guenther@gmail.com> wrote: > On Fri, ...
12 years, 6 months ago (2011-10-23 17:28:20 UTC) #17
richard.guenther_gmail.com
On Sun, Oct 23, 2011 at 7:28 PM, Xinliang David Li <davidxl@google.com> wrote: > On ...
12 years, 6 months ago (2011-10-24 08:42:14 UTC) #18
davidxl
> Well, you seem to keep not reading what I write. I am not opposed ...
12 years, 6 months ago (2011-10-24 16:27:53 UTC) #19
richard.guenther_gmail.com
On Mon, Oct 24, 2011 at 6:27 PM, Xinliang David Li <davidxl@google.com> wrote: >> Well, ...
12 years, 6 months ago (2011-10-25 08:02:21 UTC) #20
davidxl
On Tue, Oct 25, 2011 at 1:02 AM, Richard Guenther < richard.guenther@gmail.com> wrote: > On ...
12 years, 6 months ago (2011-10-25 19:30:53 UTC) #21
richard.guenther_gmail.com
On Tue, Oct 25, 2011 at 9:30 PM, Xinliang David Li <davidxl@google.com> wrote: > > ...
12 years, 6 months ago (2011-10-26 08:37:29 UTC) #22
davidxl
12 years, 6 months ago (2011-10-26 16:33:47 UTC) #23
I am hoping that too:) Yes, I will try to do it when I find some time.

David

On Wed, Oct 26, 2011 at 1:37 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Tue, Oct 25, 2011 at 9:30 PM, Xinliang David Li <davidxl@google.com> wrote:
>>
>>
>> On Tue, Oct 25, 2011 at 1:02 AM, Richard Guenther
>> <richard.guenther@gmail.com> wrote:
>>>
>>> On Mon, Oct 24, 2011 at 6:27 PM, Xinliang David Li <davidxl@google.com>
>>> wrote:
>>> >> Well, you seem to keep not reading what I write.  I am not opposed
>>> >> to adding -fopt-info/report nor to funnel messages to stdout/err.  What
>>> >> I am opposed is the way you want to introduce them.  I want you to
>>> >> fix what we dump into dump files, so that both -fopt-report and
>>> >> -fopt-info
>>> >> can be implemented by outputting selected pieces of the dump file
>>> >> to stdout/stderr.  We already have -fdump-*-stats which supposedly
>>> >> could match -fopt-report, and the default -fdump-* should be what
>>> >> goes to -fopt-info (minus the function bodies, of course).
>>> >
>>> > That sounds good. What you propose seems like
>>> >
>>> > -fdump-pass-[ir_only|transformation|debug]-stderr
>>> >
>>> > and -fopt-info is a short cut for
>>> > -fdump-tree-all-transformations-stderr
>>> > -fdump-ipa-all-tranformations-stderr
>>> > -fdump-rtl-all-transformations-stderr
>>>
>>> Yes.  Note that I don't like it the way the vectorizer does (with
>>> -fvectorizer-verbose=... the dump files are empty).  The dump
>>> file content should be unchanged when redirecting (parts) to
>>> stderr, so we have to arrange to duplicate messages in two places.
>>>
>> Vectorizer dump is a good candidate for clean up when the dumping
>> infrastructure improvement is done.
>> FYI, for now, we will implement the opt-info for some passes in the simple
>> way in google branches, and later migrate to trunk when the dumping
>> infrastructure is improved.
>
> I was hoping you would volunteer to improve the dumping infrastructure.
>
> Richard.
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b