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

Reply via email to