Re: [PATCH] fix PR58602 (.gcno files not truncated at gcov_close)

2014-02-03 Thread Laurent Alfonsi
Jeff, All, As you suggested, I have extended my testing around this fix to prevent race condition issues. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602#c8 All my tests passed successfully. Is it ok for trunk ? Thanks, Laurent On 10/03/13 17:01, Laurent Alfonsi wrote: Hi All, We

Re: [PATCH] fix PR58602 (.gcno files not truncated at gcov_close)

2014-02-03 Thread Jeff Law
On 02/03/14 01:55, Laurent Alfonsi wrote: Jeff, All, As you suggested, I have extended my testing around this fix to prevent race condition issues. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602#c8 All my tests passed successfully. Is it ok for trunk ? Yes, thanks for running those

Re: [PATCH] fix PR58602 (.gcno files not truncated at gcov_close)

2014-01-16 Thread Laurent Alfonsi
Ping ? http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602 As a reminder, that prevent running lcov on kernel side. http://sourceforge.net/p/ltp/mailman/message/31141937/ Thanks Laurent On 10/03/13 17:01, Laurent Alfonsi wrote: Hi All, We have discovered a bug on gcno file generation

[PATCH] fix PR58602 (.gcno files not truncated at gcov_close)

2013-10-03 Thread Laurent Alfonsi
Hi All, We have discovered a bug on gcno file generation registred as PR58602. When the .gcno graph file is opened for generating the coverage graph information, the mode used is w+ as this code is shared with updating tools such as libgcov. Thus, when GCC outputs .gcno files, it may leave