diff options
author | Javier Miranda <miranda@adacore.com> | 2022-02-06 11:23:53 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-13 08:04:33 +0000 |
commit | fafccfbf77ac245c7fa77c06e4ae001009c3425e (patch) | |
tree | 35fcb6faa4bb449666c2bc9485e88b15f5573009 /gcc/gimple-range-path.cc | |
parent | 6a28d40dc4dd47431cc52edbb8b1994f81aa1748 (diff) | |
download | gcc-fafccfbf77ac245c7fa77c06e4ae001009c3425e.zip gcc-fafccfbf77ac245c7fa77c06e4ae001009c3425e.tar.gz gcc-fafccfbf77ac245c7fa77c06e4ae001009c3425e.tar.bz2 |
[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.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions