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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Eric Botcazou
<ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:06a26f4d643a5d045d893cd443425b13bd3d1b4b

commit r15-9873-g06a26f4d643a5d045d893cd443425b13bd3d1b4b
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Sat Jun 28 17:42:26 2025 +0200

    Fix compilation of concatenation with illegal character constant

    This fixes an error recovery issue, whereby the compilation of a string
    concatenation with an illegal character constant hangs.

    gcc/ada/
            PR ada/120854
            * sem_eval.adb (Get_String_Val): Be prepared for an integer literal
            after a serious error is detected, and raise PE on other nodes.
    gcc/testsuite/
            * gnat.dg/concat6.adb: New test.

Reply via email to