]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Assertion failure on for-of loop iterating on selected component
authorJavier Miranda <miranda@adacore.com>
Mon, 28 Aug 2023 18:32:18 +0000 (18:32 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 14 Sep 2023 12:42:38 +0000 (14:42 +0200)
commit1f68777549eb0104267bebaa1b94d173e1656d01
treef63128877c449351bd0cc99db5d0bacc44c43bac
parentf8f05af400c99cdbdccfc57d536ccf5e1f0bdc47
ada: Assertion failure on for-of loop iterating on selected component

gcc/ada/

* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): Protect
access to Entity attribute and add missing code to check function
selector in a prefix form call.
gcc/ada/sem_util.adb