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 <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to