diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 10:42:45 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 10:42:45 +0000 |
commit | a90330b15a84fdf83e3fd4b4d4da06cbb45fda55 (patch) | |
tree | ea12457ad334280f40506946d26b8a0deb438344 /gcc/ada/a-except-2005.ads | |
parent | 16fedf0fb6c774b97ab0aa5899e99669067082ee (diff) |
2011-08-29 Tristan Gingold <gingold@adacore.com>
* a-exexpr.adb, a-except-2005.ads (Jmpbuf_Address): Move to a-exexpr.adb
(To_Jmpbuf_Address): Ditto
(builtin_longjmp): Ditto
2011-08-29 Thomas Quinot <quinot@adacore.com>
* sem_res.adb: Minor reformatting.
2011-08-29 Vincent Celier <celier@adacore.com>
* make.adb (Gnatmake): Move special processing for VM targets after the
call to Get_Target_Parameters.
2011-08-29 Thomas Quinot <quinot@adacore.com>
* sem_ch12.adb, par-ch12.adb: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178197 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-except-2005.ads')
-rw-r--r-- | gcc/ada/a-except-2005.ads | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/gcc/ada/a-except-2005.ads b/gcc/ada/a-except-2005.ads index d631684a406..f4cdebb47de 100644 --- a/gcc/ada/a-except-2005.ads +++ b/gcc/ada/a-except-2005.ads @@ -50,8 +50,6 @@ with System.Parameters; with System.Standard_Library; with System.Traceback_Entries; -with Ada.Unchecked_Conversion; - package Ada.Exceptions is pragma Warnings (Off); pragma Preelaborate_05; @@ -230,16 +228,13 @@ private -- system to return here rather than to the original location. procedure Raise_From_Controlled_Operation - (X : Ada.Exceptions.Exception_Occurrence; - From_Abort : Boolean); + (X : Ada.Exceptions.Exception_Occurrence); pragma No_Return (Raise_From_Controlled_Operation); pragma Export (Ada, Raise_From_Controlled_Operation, "__gnat_raise_from_controlled_operation"); -- Raise Program_Error, providing information about X (an exception raised - -- during a controlled operation) in the exception message. However, if the - -- finalization was triggered by abort, keep aborting instead of raising - -- Program_Error. + -- during a controlled operation) in the exception message. procedure Reraise_Occurrence_Always (X : Exception_Occurrence); pragma No_Return (Reraise_Occurrence_Always); @@ -359,18 +354,4 @@ private Tracebacks => (others => TBE.Null_TB_Entry), Private_Data => System.Null_Address); - -- Common binding to __builtin_longjmp for sjlj variants. - - -- The builtin expects a pointer type for the jmpbuf address argument, and - -- System.Address doesn't work because this is really an integer type. - - type Jmpbuf_Address is access Character; - - function To_Jmpbuf_Address is new - Ada.Unchecked_Conversion (System.Address, Jmpbuf_Address); - - procedure builtin_longjmp (buffer : Jmpbuf_Address; Flag : Integer); - pragma No_Return (builtin_longjmp); - pragma Import (Intrinsic, builtin_longjmp, "__builtin_longjmp"); - end Ada.Exceptions; |