]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Spurious error when compiling in Syntax and Semantics Only mode
authorJavier Miranda <miranda@adacore.com>
Thu, 26 Sep 2024 09:18:48 +0000 (09:18 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 25 Oct 2024 09:09:01 +0000 (11:09 +0200)
commitd0a072e1f8b46eccf8fcc014e25cd47f17b86496
tree49bf2115e40a4d3140f3356f32ec0c8f46aaaebc
parentf4e8bdb86b7953ea7931b8e01725464b2c1be6ad
ada: Spurious error when compiling in Syntax and Semantics Only mode

Compiling under switch -gnatc, the frontend reports spurious errors
accessing components of class-wide tagged types.

gcc/ada/ChangeLog:

* sem_ch3.adb (Record_Type_Definition): For tagged types, add
the missing decoration to the First_Entity in the corresponding
class-wide type entity.
gcc/ada/sem_ch3.adb