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

Issue 5173042: Disable early inlining while compiling for coverage

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by Sharad Singhai
Modified:
9 years, 7 months ago
Reviewers:
davidxl, hubicka
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6/gcc/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M gcc.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
Sharad Singhai
This patch disables early inlining when --coverage option is specified. This improves coverage data in ...
12 years, 7 months ago (2011-10-01 01:12:40 UTC) #1
davidxl
Yes, this will improve test coverage option's usability, but please provide the example to explain ...
12 years, 7 months ago (2011-10-01 04:15:28 UTC) #2
Sharad Singhai
Here is an example. In the attached file, foo.c contains only two functions, 'sum' and ...
12 years, 7 months ago (2011-10-01 05:37:30 UTC) #3
davidxl
On Sat, Oct 1, 2011 at 5:17 AM, Jan Hubicka <hubicka@ucw.cz> wrote: >> Yes, this ...
12 years, 6 months ago (2011-10-01 17:19:11 UTC) #4
Sharad Singhai
I have updated PR/45890 with a test case. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45890 In any case, I am attaching ...
12 years, 6 months ago (2011-10-01 19:49:04 UTC) #5
hubicka_ucw.cz
> > I believe Richi opent PR back when he introduced the SSA profiling, but ...
12 years, 6 months ago (2011-10-02 10:08:44 UTC) #6
Sharad Singhai
Honza, Sorry, I forgot about this. Could you please put this on your TODO list? ...
12 years, 5 months ago (2011-11-07 21:30:59 UTC) #7
davidxl
12 years, 5 months ago (2011-11-07 22:06:20 UTC) #8
On Mon, Nov 7, 2011 at 1:30 PM, Sharad Singhai <singhai@google.com> wrote:
> Honza,
> Sorry, I forgot about this. Could you please put this on your TODO list?
>
> David,
> While a proper fix is pending for the trunk, we need this interim fix
> internally. Okay for google/main?

ok.

thanks,

David
>
> Thanks,
> Sharad
>
> On Sun, Oct 2, 2011 at 3:08 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
>>>
>>> I believe Richi opent PR back when he introduced the SSA profiling, but I
don;t seem
>>> to be able to find it now.
>> Ha, you found it. It is PR gcov-profile/45890.
>>
>> Given outcome of this dicussion I think it would make most sense to make
coverage just after into-SSA
>> (and perhaps arrange cfgcleanups run before to be sensitive WRT line number
infos).
>> Path is welcome, otherwise I will try to put this on my TODO for 4.7
>>
>> Thanks!
>> Honza
>>>
>>> Honza
>>
>
Sign in to reply to this message.

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