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

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

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

commit r15-11618-ga1e79fb2fb9577a34d912dd0136adae37c869a7e
Author: Eric Botcazou <[email protected]>
Date:   Wed Oct 7 21:22:28 2026 +0200

    Ada: Fix wild memory access for pragma Warnings (On|Off, "*")

    This occurs when the pragma is in a configuration file.  The problem is
that
    Find_Direct_Name manually walks the scope stack while it is still empty.

    gcc/ada/
            PR ada/126125
            * sem_ch8.adb (Find_Direct_Name): Add missing guard to the manual
            walk of the scope stack used to cope with the Rtsfind mechanism.

Reply via email to