diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-04-08 16:26:02 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-10 11:03:58 +0200 |
commit | 8d711859139753221d3eef7ba650579a9817677b (patch) | |
tree | 8b3d275aea23fdafee5efca46891296e99bf19c3 /gcc/ada/debug.adb | |
parent | 731824d08107075d689aec92ea564e0a3ec6d90a (diff) | |
download | gcc-8d711859139753221d3eef7ba650579a9817677b.zip gcc-8d711859139753221d3eef7ba650579a9817677b.tar.gz gcc-8d711859139753221d3eef7ba650579a9817677b.tar.bz2 |
ada: Fix handling of aspects CPU and Interrupt_Priority
When resolving aspect expression, aspects CPU and Interrupt_Priority
should be handled like the aspect Priority; in particular, all these
expressions can reference discriminants of the annotated task type.
gcc/ada/
* sem_ch13.adb (Check_Aspect_At_End_Of_Declarations): Make
discriminants visible when analyzing aspect Interrupt_Priority.
(Freeze_Entity_Checks): Likewise.
(Resolve_Aspect_Expressions): Likewise for both aspects CPU and
Interrupt_Priority.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions