Re: [PATCH v2] testsuite,clang: fix malloc04 and malloctest for on clang

2018-10-05 Thread Sebastian Huber
On 05/10/2018 09:57, Daniel Hellstrom wrote: malloc04 and malloctest tests from the rtems test-suite fails when checking the return value of malloc(). The check is optimized away and always fails. --- testsuites/libtests/malloc04/init.c | 6 ++ testsuites/libtests/malloctest/init.c | 1 +

[PATCH v2] testsuite,clang: fix malloc04 and malloctest for on clang

2018-10-05 Thread Daniel Hellstrom
malloc04 and malloctest tests from the rtems test-suite fails when checking the return value of malloc(). The check is optimized away and always fails. --- testsuites/libtests/malloc04/init.c | 6 ++ testsuites/libtests/malloctest/init.c | 1 + 2 files changed, 7 insertions(+) diff --git a/