summaryrefslogtreecommitdiff
path: root/gcc/ada/a-exstat.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-exstat.adb')
-rw-r--r--gcc/ada/a-exstat.adb9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ada/a-exstat.adb b/gcc/ada/a-exstat.adb
index e840418c7e7..eb18a4c9986 100644
--- a/gcc/ada/a-exstat.adb
+++ b/gcc/ada/a-exstat.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2003 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
-- --
-- GNAT 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,9 +31,16 @@
-- --
------------------------------------------------------------------------------
+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 System.Exception_Table; use System.Exception_Table;
with System.Storage_Elements; use System.Storage_Elements;
+pragma Warnings (On);
+
separate (Ada.Exceptions)
package body Stream_Attributes is