[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #7 from Iain Buclaw --- Fixed in r15-6816.
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Iain Buclaw --- > I suspect one of them might be this issue > > https://github.com/dlang/dmd/issues/20688 Resp. its Solaris equivalent. The other is the gcc/d dependency file issue already being discussed in this thread: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673383.html
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #5 from Iain Buclaw --- I suspect one of them might be this issue https://github.com/dlang/dmd/issues/20688
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Iain Buclaw --- > Changes made to the module itself. > > https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=libphobos/src/std/bitmanip.d;h=15211a3a98adab5ab2952bf801a350a5db76055c;hp=0993d34843fcf58b739372b86381cd96b1eff68f;hb=dd3026f05111a0858ee87146ba9c37f164afa815;hpb=b0eeb540497c7b9dee01f8724f9a4978b53a12ae The bitmanip.d failures on sparc are gone now indeed. However, I'm now seeing two different build failures and a new testsuite regression. Will report separately.
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #3 from Iain Buclaw --- Changes made to the module itself. https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=libphobos/src/std/bitmanip.d;h=15211a3a98adab5ab2952bf801a350a5db76055c;hp=0993d34843fcf58b739372b86381cd96b1eff68f;hb=dd3026f05111a0858ee87146ba9c37f164afa815;hpb=b0eeb540497c7b9dee01f8724f9a4978b53a12ae
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added Last reconfirmed||2025-01-11 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #2 from Iain Buclaw --- All little/big endian code in this module was removed in r15-6816.
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314
Iain Buclaw changed:
What|Removed |Added
CC||ibuclaw at gcc dot gnu.org
--- Comment #1 from Iain Buclaw ---
Looking at the diff, seems that upstream made a mistake when doing some
mechanical change - the last hunk is missing a "cast".
--- a/std/bitmanip.d
+++ b/std/bitmanip.d
@@ -2959,10 +2959,10 @@ if (__traits(isIntegral, T))
Unqual!T result;
version (LittleEndian)
foreach_reverse (b; array)
-result = cast(Unqual!T) ((result << 8) | b);
+result = cast() cast(T) ((result << 8) | b);
else
foreach (b; array)
-result = cast(Unqual!T) ((result << 8) | b);
+result = cast() cast(T) ((result << 8) | b);
return cast(T) result;
}
@@ -2977,7 +2977,7 @@ if (__traits(isIntegral, T))
foreach (i; 0 .. T.sizeof)
{
result[i] = cast(ubyte) tmp;
-tmp = cast(Unqual!T) (tmp >>> 8);
+tmp = cast() cast(T) (tmp >>> 8);
}
}
else
@@ -2985,7 +2985,7 @@ if (__traits(isIntegral, T))
foreach_reverse (i; 0 .. T.sizeof)
{
result[i] = cast(ubyte) tmp;
-tmp = cast(Unqual!T) (tmp >>> 8);
+tmp = cast()(T) (tmp >>> 8);
}
}
return result;
---
All this code is already gone in upstream, just need to catch-up with mainline.
[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Rainer Orth changed: What|Removed |Added Target Milestone|--- |15.0
