https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65369

--- Comment #18 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc2-power8 ~ % valgrind --track-origins=yes ./a.out
==152914== Memcheck, a memory error detector
==152914== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==152914== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==152914== Command: ./a.out
==152914==
==152914== Use of uninitialised value of size 8
==152914==    at 0x4135C58: _itoa_word (in /usr/lib64/libc-2.20.so)
==152914==    by 0x413A42B: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x1000132B: main (gcc-65369.c:199)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x4135C60: _itoa_word (in /usr/lib64/libc-2.20.so)
==152914==    by 0x413A42B: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x1000132B: main (gcc-65369.c:199)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Use of uninitialised value of size 8
==152914==    at 0x4135C6C: _itoa_word (in /usr/lib64/libc-2.20.so)
==152914==    by 0x413A42B: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x1000132B: main (gcc-65369.c:199)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x413A4AC: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x414107B: printf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x1000132B: main (gcc-65369.c:199)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x413A2CC: vfprintf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x414107B: printf@@GLIBC_2.17 (in /usr/lib64/libc-2.20.so)
==152914==    by 0x1000132B: main (gcc-65369.c:199)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
buffer[] = { \xe3 \x3b \x4d \xdc \x9c \x38 \xf2 \x19 \x9c \x3e \x7b \x16 \x4f
\xcc \x05 \x36 }
digest[] = { \xe3 \x3b \x4d \xdc \x9c \x38 \xf2 \x19 \x9c \x3e \x7b \x16 \x4f
\xcc \x05 \x36 }
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x409BE6C: memcmp (in
/usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so)
==152914==    by 0x100013AB: main (gcc-65369.c:204)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x409BE94: memcmp (in
/usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so)
==152914==    by 0x100013AB: main (gcc-65369.c:204)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
buffer[] = { \xe3 \x3b \x4d \xdc \x9c \x38 \xf2 \x19 \x9c \x3e \x7b \x16 \x4f
\xcc \x05 \x36 }
digest[] = { \xe3 \x3b \x4d \xdc \x9c \x38 \xf2 \x19 \x9c \x3e \x7b \x16 \x4f
\xcc \x05 \x36 }
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x409BE6C: memcmp (in
/usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so)
==152914==    by 0x1000138F: main (gcc-65369.c:203)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914== Conditional jump or move depends on uninitialised value(s)
==152914==    at 0x409BE94: memcmp (in
/usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so)
==152914==    by 0x1000138F: main (gcc-65369.c:203)
==152914==  Uninitialised value was created by a stack allocation
==152914==    at 0x100010F0: md4_digest (gcc-65369.c:143)
==152914==
==152914==
==152914== HEAP SUMMARY:
==152914==     in use at exit: 0 bytes in 0 blocks
==152914==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==152914==
==152914== All heap blocks were freed -- no leaks are possible
==152914==
==152914== For counts of detected and suppressed errors, rerun with: -v
==152914== ERROR SUMMARY: 206 errors from 9 contexts (suppressed: 0 from 0)

Reply via email to