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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <l...@gcc.gnu.org>:

https://gcc.gnu.org/g:e6f2daff77ee1f709105cb9f8e3e92f04c179431

commit r16-2173-ge6f2daff77ee1f709105cb9f8e3e92f04c179431
Author: Jan Dubiec <j...@o2.pl>
Date:   Thu Jul 10 07:41:08 2025 -0600

    [PATCH] libgcc: PR target/116363 Fix SFtype to UDWtype conversion

    This patch fixes SFtype to UDWtype (aka float to unsigned long long)
    conversion on targets without DFmode like e.g. H8/300H. It solely relies
    on SFtype->UWtype and UWtype->UDWtype conversions/casts. The existing code
    in line 2218 (counter = a) assigns/casts a float which is *always* not
lesser
    than Wtype_MAXp1_F to an UWtype int which of course does not have enough
    capacity.

            PR target/116363

    libgcc/ChangeLog:

            * libgcc2.c (__fixunssfDI): Fix SFtype to UDWtype conversion for
targets
            without LIBGCC2_HAS_DF_MODE defined
  • [Bug target/116363] gcc.c-tortu... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to