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

            Bug ID: 89418
           Summary: D test cases fail on powerpc64le
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

FAIL: gdc.test/compilable/ctfe_math.d -O2    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -O2 -frelease    output-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -frelease    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2 -frelease    output-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -frelease    output-exists ctfe_math.o
FAIL: gdc.test/compilable/test5227.d   output-exists test5227.o

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../gdc
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/libdruntime
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/src
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libstdc++-v3/libsupc++ -g
-I/home/seurer/gcc/gcc-test/gcc/testsuite/gdc.test/compilable -c -o ctfe_math.o
compilable/ctfe_math.d
/home/seurer/gcc/gcc-test/libphobos/src/std/math.d:244:5: error: static assert 
"Only 64-bit, 80-bit, and 128-bit reals are supported for LittleEndian CPUs"
compiler exited with status 1

package:
// The following IEEE 'real' formats are currently supported.
version (LittleEndian)
{
    static assert(real.mant_dig == 53 || real.mant_dig == 64
               || real.mant_dig == 113,
      "Only 64-bit, 80-bit, and 128-bit reals"~
      " are supported for LittleEndian CPUs");
}
else
{
    static assert(real.mant_dig == 53 || real.mant_dig == 106
               || real.mant_dig == 113,
    "Only 64-bit and 128-bit reals are supported for BigEndian CPUs."~
    " double-double reals have partial support");
}


I don't really know enough about D to diagnose this much further.

Reply via email to