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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <[email protected]>:

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

commit r16-8743-gdd723b26663c76440ae44e83f0c699240c75b81e
Author: Eric Botcazou <[email protected]>
Date:   Fri Apr 17 22:26:56 2026 +0200

    Ada: Fix excessive compilation time for decimal literal with large exponent

    This is a serious contender for the smallest chunk of code still hanging
the
    compiler after three decades.

    gcc/ada/
            PR ada/107392
            * sem_res.adb: Add clauses for Ttypes.
            (Resolve.Patch_Up_Value): Do not try to convert real literals that
            do not fit in Universal_Integer.

    gcc/testsuite/
            * gnat.dg/specs/float_literal2.ads: New test.

Reply via email to