]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix libgpr2 build failure with compiler built with assertions
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 24 Feb 2025 21:27:21 +0000 (22:27 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Jun 2025 14:44:46 +0000 (16:44 +0200)
commite0777e78bede3108d41a506d8877c03997bed2c5
treea27fa9759a5c23e0b690e6b215967dc3813d0bc0
parentcb3e76508b1af7ff5ba6e43592d7d67bbb96fac6
ada: Fix libgpr2 build failure with compiler built with assertions

The problem is that the Entity field is accessed for a node without one.

gcc/ada/ChangeLog:

* sem_ch10.adb (Install_Siblings.In_Context): Add missing guard.
gcc/ada/sem_ch10.adb