From: Christoph Mallon Date: Tue, 2 Sep 2008 09:47:13 +0000 (+0000) Subject: fehler143: eccp makes the __assert_fail() call in an assert() macro disappear. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=63fd48326b390d9a6233a732ac386d3715e3d687;p=libfirm fehler143: eccp makes the __assert_fail() call in an assert() macro disappear. [r21639] --- diff --git a/ir/be/test/fehler143.c b/ir/be/test/fehler143.c new file mode 100644 index 000000000..2812fde2c --- /dev/null +++ b/ir/be/test/fehler143.c @@ -0,0 +1,21 @@ +#include +#include +#include + +void f(int x) +{ + assert(x < 0); +} + +void handler(int sig) +{ + (void)sig; + exit(0); +} + +int main(void) +{ + signal(SIGABRT, handler); + f(1); + return 1; +}