https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102959
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:1b5f73858412731bb2e821bdf0fc85d6cc012d33 commit r12-4812-g1b5f73858412731bb2e821bdf0fc85d6cc012d33 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Sun Oct 31 16:49:33 2021 +0100 d: Fix pr96435.d failing on SPARC and HPPA The value used to initialize the integer field in the union didn't account for BigEndian targets running this code. PR d/102959 gcc/testsuite/ChangeLog: * gdc.dg/torture/pr96435.d: Adjust for BigEndian.