https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95452
--- 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:ca0589a9dfafb091e1bac92f2d5de286d6cdd65f commit r16-8581-gca0589a9dfafb091e1bac92f2d5de286d6cdd65f Author: Eric Botcazou <[email protected]> Date: Mon Apr 13 12:51:06 2026 +0200 Ada: Fix spurious overflow in the Heapsort implementations This just adds the missing guard. gcc/ada/ PR ada/95452 * libgnat/g-heasor.adb (Sort.Sift): Add guard against overflow. * libgnat/g-hesorg.adb (Sort.Sift): Likewise. * libgnat/g-hesora.adb (Sort.Sift): Likewise. Restore consistency.
