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

--- Comment #4 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:c1a9ed3f082f51885c3f7d3a2c0fc8ce8568d119

commit r16-7623-gc1a9ed3f082f51885c3f7d3a2c0fc8ce8568d119
Author: Eric Botcazou <[email protected]>
Date:   Sun Feb 22 11:23:35 2026 +0100

    Ada: Fix crash on call to null procedure as triggering statement of select

    This is really a corner case, but it exposes a couple of small issues in
    Analyze_Triggering_Alternative that are worth fixing: 1) the detection of
    delay and entry call statements is not robust enough and 2) there is also
    a thinko in the detection of procedure call statements.

    gcc/ada/
            PR ada/124179
            * sem_ch9.adb (Analyze_Triggering_Alternative): Use more robust
            test for delay and entry call statements and fix thinko in test
            for procedure call statements.

    gcc/testsuite/
            * gnat.dg/asynch2.adb: New test.

Reply via email to