]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Tweak error recovery path
authorRonan Desplanques <desplanques@adacore.com>
Thu, 6 Mar 2025 11:54:44 +0000 (12:54 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:09 +0000 (08:32 +0200)
commite9066cf788e689a119a068ecf38e17c666bfb6a4
treea1338a07dd9baca9ad024c9ab54f7e17f8267d2f
parentfd98d3b9b1cb3109a36957a401ba7bc7097ca267
ada: Tweak error recovery path

Before this patch, the constant mark of object declarations was stripped
in some error situations. This behavior is currently not useful so this
patch removes it.

gcc/ada/ChangeLog:

* sem_ch3.adb (Analyze_Object_Declaration): Tweak error handling.
gcc/ada/sem_ch3.adb