From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41835 invoked by alias); 12 Mar 2015 15:54:15 -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 41763 invoked by uid 48); 12 Mar 2015 15:54:11 -0000 From: "msebor 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:54: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: msebor 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: attachments.created 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/msg01337.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65369 --- Comment #24 from Martin Sebor --- Created attachment 35020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35020&action=edit Unreduced translation unit of the test program. Compil and run like so: $ gcc -O3 -Wall -Werror gcc-65369.i && valgrind ./a.out ==86961== Memcheck, a memory error detector ==86961== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==86961== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info ==86961== Command: ./a.out ==86961== 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 } buffer[] = { \xdd \x41 \x11 \xdd \x66 \x91 \x3a \xe2 \xf3 \x9a \xdf \xbc \x43 \x82 \x14 \xd6 } digest[] = { \xe3 \x3b \x4d \xdc \x9c \x38 \xf2 \x19 \x9c \x3e \x7b \x16 \x4f \xcc \x05 \x36 } a.out: gcc-65369.c:41: main: Assertion `0 == memcmp (buffer, digest, sizeof buffer - 1)' failed. ==86961== ==86961== HEAP SUMMARY: ==86961== in use at exit: 97 bytes in 1 blocks ==86961== total heap usage: 3 allocs, 2 frees, 295 bytes allocated ==86961== ==86961== LEAK SUMMARY: ==86961== definitely lost: 0 bytes in 0 blocks ==86961== indirectly lost: 0 bytes in 0 blocks ==86961== possibly lost: 97 bytes in 1 blocks ==86961== still reachable: 0 bytes in 0 blocks ==86961== suppressed: 0 bytes in 0 blocks ==86961== Rerun with --leak-check=full to see details of leaked memory ==86961== ==86961== For counts of detected and suppressed errors, rerun with: -v ==86961== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Aborted