Processed: Re: gcc-6: output errors to .gcda file are not checked

2021-08-04 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 gcc: some errors in output to .gcda file are not checked
Bug #929777 [gcc-10] gcc-6: output errors to .gcda file are not checked
Changed Bug title to 'gcc: some errors in output to .gcda file are not checked' 
from 'gcc-6: output errors to .gcda file are not checked'.
> tags -1 fixed-upstream
Bug #929777 [gcc-10] gcc: some errors in output to .gcda file are not checked
Added tag(s) fixed-upstream.

-- 
929777: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929777
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#929777: gcc-6: output errors to .gcda file are not checked

2021-08-04 Thread Vincent Lefevre
Control: retitle -1 gcc: some errors in output to .gcda file are not checked
Control: tags -1 fixed-upstream

On 2021-08-04 12:33:38 +0200, Vincent Lefevre wrote:
> I've just reported the bug upstream (and with a GCC 12 snapshot
> I built a few days ago, I don't even get an error message).

I've found the cause and proposed a patch, which has been committed
in master:

https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=929f2cf4105ccf12d0684c6d5838f58f0ee5e7c7

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Processed: Re: gcc-6: output errors to .gcda file are not checked

2021-08-04 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 gcc-10 10.2.1-6
Bug #929777 [gcc-6] gcc-6: output errors to .gcda file are not checked
Bug reassigned from package 'gcc-6' to 'gcc-10'.
No longer marked as found in versions gcc-6/6.3.0-18+deb9u1.
Ignoring request to alter fixed versions of bug #929777 to the same values 
previously set
Bug #929777 [gcc-10] gcc-6: output errors to .gcda file are not checked
Marked as found in versions gcc-10/10.2.1-6.
> tags -1 upstream
Bug #929777 [gcc-10] gcc-6: output errors to .gcda file are not checked
Added tag(s) upstream.
> forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101773
Bug #929777 [gcc-10] gcc-6: output errors to .gcda file are not checked
Set Bug forwarded-to-address to 
'https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101773'.

-- 
929777: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929777
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#929777: gcc-6: output errors to .gcda file are not checked

2021-08-04 Thread Vincent Lefevre
Control: reassign -1 gcc-10 10.2.1-6
Control: tags -1 upstream
Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101773

On 2019-05-31 01:19:47 +0200, Vincent Lefevre wrote:
> Write failures should be detected, and when this happens,
> the program should terminate with a non-zero exit status
> as usual.

gcc-10 now outputs an error message when running the program, e.g.

libgcov profiling error:dir/#home#vlefevre#tst.gcda:Error writing

but the exit status is still 0, which is an issue for scripts.

I've just reported the bug upstream (and with a GCC 12 snapshot
I built a few days ago, I don't even get an error message).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)