]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Crash when using user defined string literals
authorJavier Miranda <miranda@adacore.com>
Thu, 6 Jun 2024 11:20:14 +0000 (11:20 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 21 Jun 2024 08:34:21 +0000 (10:34 +0200)
commit96e037bcd160d2f63a04de09f2d47ed9aae082ad
tree3630d4eabc2eba689354dff3a04cd3471e52f569
parent498c6260ce0508a4c865071fed11e964d6f22b35
ada: Crash when using user defined string literals

When a non-overridable aspect is explicitly specified for a
non-tagged derived type, the compiler blows up processing an
object declaration of an object of such type.

gcc/ada/

* sem_ch13.adb (Analyze_One_Aspect): Fix code locating the entity
of the parent type.
gcc/ada/sem_ch13.adb