From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9736 invoked by alias); 4 Apr 2010 18:10:17 -0000 Received: (qmail 8552 invoked by uid 48); 4 Apr 2010 18:09:53 -0000 Date: Sun, 04 Apr 2010 18:10:00 -0000 Subject: [Bug c/43642] New: FAIL: c-c++-common/raw-string-1.c X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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 X-SW-Source: 2010-04/txt/msg00339.txt.bz2 The test c-c++-common/raw-string-1.c fails on ppc (see http://gcc.gnu.org/ml/gcc-testresults/2010-04/msg00315.html or http://gcc.gnu.org/ml/gcc-testresults/2010-04/msg00299.html). I have reduced the failures to any of the following if: int main (void) { /* if (sizeof (s4) != sizeof (s5) || __builtin_memcmp (s4, s5, sizeof (s4)) != 0) __builtin_abort (); */ /* if (sizeof (t4) != sizeof (t5) || __builtin_memcmp (t4, t5, sizeof (t4)) != 0) __builtin_abort (); */ /* if (sizeof (u4) != sizeof (u5) || __builtin_memcmp (u4, u5, sizeof (u4)) != 0) __builtin_abort (); */ if (sizeof (U4) != sizeof (U5) || __builtin_memcmp (U4, U5, sizeof (U4)) != 0) __builtin_abort (); /* if (sizeof (L4) != sizeof (L5) || __builtin_memcmp (L4, L5, sizeof (L4)) != 0) __builtin_abort (); */ return 0; } It looks like an endianness issue. -- Summary: FAIL: c-c++-common/raw-string-1.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: powerpc-*-* GCC host triplet: powerpc-*-* GCC target triplet: powerpc-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43642