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

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

https://gcc.gnu.org/g:0788add46a172b7b1c565fafdef80979be3dc2a6

commit r16-1761-g0788add46a172b7b1c565fafdef80979be3dc2a6
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