From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112545 invoked by alias); 12 Mar 2015 15:34:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 112487 invoked by uid 48); 12 Mar 2015 15:34:49 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65369] [5 Regression] nettle test failure on powerpc64le-linux-gnu when built with -O3 Date: Thu, 12 Mar 2015 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg01329.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65369 --- Comment #18 from Markus Trippelsdorf --- 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)