https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314
Bug ID: 118314
Summary: [15 regression] libphobos.phobos/std/bitmanip.d FAILs
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: sparc-sun-solaris2.11
Between 20250103 d22b0e3033d991104ad48c3618981fedea1a8841() and 20250105
(f5351b38a8aff438b41cae0d133fd38d56d8cd1f), a libphobos test regressed on
Solaris/SPARC (both 32 and 64-bit):
+FAIL: libphobos.phobos/std/bitmanip.d (test for excess errors)
+FAIL: libphobos.phobos_shared/std/bitmanip.d (test for excess errors)
Excess errors:
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:2994:
error: cannot implicitly convert expression 'cast(int)tmp >>> 8' of type 'int'
to 'byte'
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3062:
error: template instance 'std.bitmanip.ctfeBytes!byte' error instantiating
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3019:
note: instantiated from here: 'nativeToEndianImpl!(false, byte)'
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3089:
note: instantiated from here: 'nativeToBigEndian!byte'
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3096:
note: while evaluating: 'static
assert(cast(int)bigEndianToNative(nativeToBigEndian(cast(byte)1)) is 1)'
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3186:
error: template instance 'std.bitmanip.nativeToEndianImpl!(true, byte)' error
instantiating
/vol/gcc/src/hg/master/local/libphobos/testsuite/../src/std/bitmanip.d:3113:
note: instantiated from here: 'nativeToLittleEndian!byte'
and many more instances.