]> gcc.gnu.org Git - gcc.git/commit
[Ada] Crash in task body reference to discriminant
authorJavier Miranda <miranda@adacore.com>
Sun, 6 Feb 2022 11:23:53 +0000 (11:23 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 13 May 2022 08:04:33 +0000 (08:04 +0000)
commitfafccfbf77ac245c7fa77c06e4ae001009c3425e
tree35fcb6faa4bb449666c2bc9485e88b15f5573009
parent6a28d40dc4dd47431cc52edbb8b1994f81aa1748
[Ada] Crash in task body reference to discriminant

The compiler may crash processing the successor or predecessor of a task
type discrete discriminant.

gcc/ada/

* sem_attr.adb (Resolve_Attribute): Ensure that attribute
expressions are resolved at this stage; required for preanalyzed
references to discriminants since their resolution (and
expansion) will take care of updating their Entity attribute to
reference their discriminal.
gcc/ada/sem_attr.adb
This page took 0.053755 seconds and 5 git commands to generate.