From: Christoph Mallon Date: Tue, 10 Jan 2012 08:25:59 +0000 (+0100) Subject: Ensure that the noreturn function xnomem() does not return. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=ccee43965d5c5bc6696145fcd686d45dd5b613b0;p=libfirm Ensure that the noreturn function xnomem() does not return. --- diff --git a/ir/adt/xmalloc.c b/ir/adt/xmalloc.c index b526a42da..47ee42791 100644 --- a/ir/adt/xmalloc.c +++ b/ir/adt/xmalloc.c @@ -38,6 +38,7 @@ static NORETURN xnomem(void) { /* Do not use panic() here, because it might try to allocate memory! */ fputs("out of memory", stderr); + abort(); } void *xmalloc(size_t size)