summaryrefslogtreecommitdiff
path: root/gcc/ada/a-dynpri.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-dynpri.adb')
-rw-r--r--gcc/ada/a-dynpri.adb11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ada/a-dynpri.adb b/gcc/ada/a-dynpri.adb
index 3cf82dda8b4..c457bd1a6ff 100644
--- a/gcc/ada/a-dynpri.adb
+++ b/gcc/ada/a-dynpri.adb
@@ -1,12 +1,12 @@
------------------------------------------------------------------------------
-- --
--- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
+-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- A D A . D Y N A M I C _ P R I O R I T I E S --
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2004, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -31,6 +31,11 @@
-- --
------------------------------------------------------------------------------
+pragma Warnings (Off);
+-- Allow withing of non-Preelaborated units in Ada 2005 mode where this
+-- package will be categorized as Preelaborate. See AI-362 for details.
+-- It is safe in the context of the run-time to violate the rules!
+
with Ada.Task_Identification;
-- used for Task_Id
-- Current_Task
@@ -58,6 +63,8 @@ with System.Parameters;
with Unchecked_Conversion;
+pragma Warnings (On);
+
package body Ada.Dynamic_Priorities is
package STPO renames System.Task_Primitives.Operations;