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

2018-10-05 Thread Daniel Hellstrom
On 2018-10-05 09:14, Sebastian Huber wrote: On 05/10/2018 08: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. Please change the patch to use RTEMS_OBFUSCATE_VARI

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

2018-10-05 Thread Sebastian Huber
On 05/10/2018 08: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. Please change the patch to use RTEMS_OBFUSCATE_VARIABLE() in the spots where the compiler tries t

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

2018-10-04 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 | 2 +- testsuites/libtests/malloctest/init.c | 10 +- 2 files changed, 6 insertions(+), 6 dele