summaryrefslogtreecommitdiff
path: root/gcc/ada/s-soflin.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-soflin.adb')
-rw-r--r--gcc/ada/s-soflin.adb8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/ada/s-soflin.adb b/gcc/ada/s-soflin.adb
index ca3df4ae544..6367cacd910 100644
--- a/gcc/ada/s-soflin.adb
+++ b/gcc/ada/s-soflin.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2011, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2012, 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- --
@@ -223,13 +223,11 @@ package body System.Soft_Links is
-- Save_Library_Occurrence --
-----------------------------
- procedure Save_Library_Occurrence
- (E : Ada.Exceptions.Exception_Occurrence)
- is
+ procedure Save_Library_Occurrence (E : EOA) is
begin
if not Library_Exception_Set then
Library_Exception_Set := True;
- Ada.Exceptions.Save_Occurrence (Library_Exception, E);
+ Ada.Exceptions.Save_Occurrence (Library_Exception, E.all);
end if;
end Save_Library_Occurrence;