[PATCH] don't confuse user when OOM happens

Nathan Sidwell nathan@acm.org
Mon Aug 14 16:56:00 GMT 2017


The thread at https://gcc.gnu.org/ml/gcc/2017-08/msg00090.html discusses 
the driver behaviour when OOM kills cc1plus or whatever.

This patch changes the driver so that if the inferior dies via INT, 
TERM, QUIT or KILL signals,  it emits a clearer message about what happened.

We've been using this patch inside Facebook for a while, and it's cut 
down on OOM-related bug reports.  So works for me :)

ok?

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oom.diff
Type: text/x-patch
Size: 1239 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170814/d5a1c4b2/attachment.bin>


More information about the Gcc-patches mailing list