diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-16 12:55:50 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-16 12:55:50 +0000 |
commit | 204c9c3dad7c08d262ce3021a2320951fff497d8 (patch) | |
tree | 15da4473a32f859d7ef09103804af2ae6a9451ef /gcc/ada/a-exexpr.adb | |
parent | 9f6613395c8d087729fdf8cd7b9840bbc3e06591 (diff) | |
download | gcc-204c9c3dad7c08d262ce3021a2320951fff497d8.tar.gz |
2012-07-16 Thomas Quinot <quinot@adacore.com>
* freeze.adb (Check_Component_Storage_Order): Do not reject a
nested composite with different scalar storage order if it is
byte aligned.
2012-07-16 Thomas Quinot <quinot@adacore.com>
* gnat_rm.texi: Update documentation for Scalar_Storage_Order.
2012-07-16 Tristan Gingold <gingold@adacore.com>
* a-exexpr.adb (Propagate_Exception): Adjust call to
Exception_Traces procedures.
* a-exexpr-gcc.adb (Setup_Current_Excep): Now a
function that returns an access to the Ada occurrence.
(Propagate_GCC_Exception): Adjust calls.
* raise.h (struct Exception_Occurrence): Declare.
* a-exextr.adb: Remove useless pragma. (Notify_Handled_Exception,
Notify_Unhandled_Exception) (Unhandled_Exception_Terminate):
Add Excep parameter.
* a-except.adb (Notify_Handled_Exception,
Notify_Unhandled_Exception) (Unhandled_Exception_Terminate):
Add Excep parameter.
(Process_Raise_Exception): Adjust calls.
* a-except-2005.adb (Notify_Handled_Exception,
Notify_Unhandled_Exception) (Unhandled_Exception_Terminate): Add
Excep parameter.
(Raise_Exception): Calls Raise_Exception_Always.
* raise-gcc.c (__gnat_setup_current_excep,
__gnat_notify_handled_exception)
(__gnat_notify_unhandled_exception): Adjust declarations.
(PERSONALITY_FUNCTION): Adjust calls.
(__gnat_personality_seh0): Remove warning.
2012-07-16 Javier Miranda <miranda@adacore.com>
* sem_eval.adb (Test_Expression_Is_Foldable): Adding documentation.
(Eval_Relational_Op): Adding documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-exexpr.adb')
-rw-r--r-- | gcc/ada/a-exexpr.adb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ada/a-exexpr.adb b/gcc/ada/a-exexpr.adb index ccedcb2d1ef..bf5f680d8b1 100644 --- a/gcc/ada/a-exexpr.adb +++ b/gcc/ada/a-exexpr.adb @@ -43,7 +43,7 @@ package body Exception_Propagation is pragma No_Return (builtin_longjmp); pragma Import (Intrinsic, builtin_longjmp, "__builtin_longjmp"); - procedure Propagate_Continue (Excep : EOA); + procedure Propagate_Continue (E : Exception_Id); pragma No_Return (Propagate_Continue); pragma Export (C, Propagate_Continue, "__gnat_raise_nodefer_with_msg"); -- A call to this procedure is inserted automatically by GIGI, in order @@ -74,14 +74,14 @@ package body Exception_Propagation is if Jumpbuf_Ptr /= Null_Address then if not Excep.Exception_Raised then Excep.Exception_Raised := True; - Exception_Traces.Notify_Handled_Exception; + Exception_Traces.Notify_Handled_Exception (Excep); end if; builtin_longjmp (Jumpbuf_Ptr, 1); else - Exception_Traces.Notify_Unhandled_Exception; - Exception_Traces.Unhandled_Exception_Terminate; + Exception_Traces.Notify_Unhandled_Exception (Excep); + Exception_Traces.Unhandled_Exception_Terminate (Excep); end if; end Propagate_Exception; @@ -89,9 +89,10 @@ package body Exception_Propagation is -- Propagate_Continue -- ------------------------ - procedure Propagate_Continue (Excep : EOA) is + procedure Propagate_Continue (E : Exception_Id) is + pragma Unreferenced (E); begin - Propagate_Exception (Excep); + Propagate_Exception (Get_Current_Excep.all); end Propagate_Continue; end Exception_Propagation; |