summaryrefslogtreecommitdiff
path: root/gcc/ada/s-soflin.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-15 09:46:19 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-15 09:46:19 +0000
commit504c14e8a3451b5815db041150de9663fa84b97f (patch)
tree9fedcb7157eb950243aa5bc85a2679e28d69abe8 /gcc/ada/s-soflin.adb
parente3489cff81438038097fe4678fb550a1635b59af (diff)
downloadgcc-504c14e8a3451b5815db041150de9663fa84b97f.tar.gz
2012-05-15 Tristan Gingold <gingold@adacore.com>
* s-soflin.ads, s-soflin.adb (Save_Library_Occurrence): Parameter E is now of type Exception_Occurrence_Access. * exp_ch7.ads, exp_ch7.adb (Build_Exception_Handler): Adjust generated call to Save_Library_Occurrence. 2012-05-15 Thomas Quinot <quinot@adacore.com> * exp_ch4.adb (Rewrite_Coextension): Use Insert_Action to insert temporary variable decl at the proper place in the tree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187513 138bc75d-0d04-0410-961f-82ee72b054a4
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;