aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/frontend.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/frontend.adb')
-rw-r--r--gcc/ada/frontend.adb13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index ff5418a..c71c78e 100644
--- a/gcc/ada/frontend.adb
+++ b/gcc/ada/frontend.adb
@@ -460,6 +460,19 @@ begin
end if;
end if;
+ -- In GNATprove mode, force loading of a few RTE units.
+
+ if GNATprove_Mode then
+ declare
+ Unused_E : Entity_Id;
+ begin
+ -- Ensure that System.Interrupt_Priority is available to
+ -- GNATprove for the generation of VCs related to ceiling
+ -- priority.
+ Unused_E := RTE (RE_Interrupt_Priority);
+ end;
+ end if;
+
-- Qualify all entity names in inner packages, package bodies, etc.
Exp_Dbug.Qualify_All_Entity_Names;