summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch11.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-05 07:46:59 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-05 07:46:59 +0000
commit3a7fc3d614abf9a85891594846f87e16c858f635 (patch)
treec8c4bdeea1597cf43807ca89f524b62979d2208c /gcc/ada/exp_ch11.ads
parent51e69f04c0161130375d97979e76cbfd0bd2d45e (diff)
downloadgcc-3a7fc3d614abf9a85891594846f87e16c858f635.tar.gz
PR ada/23646
* s-mastop-tru64.adb, s-mastop-irix.adb, s-mastop-vms.adb (Enter_Handler, Set_Signal_Machine_State): Removed, no longer used. Remove reference to System.Exceptions. * s-mastop-x86.adb: Removed, no longer used. * s-traceb-mastop.adb: Adjust calls to Pop_Frame. * a-excach.adb: Minor reformatting. * a-except.ads, a-except.adb: Remove global Warnings (Off) pragma, and instead fix new warnings that were hidden by this change. (AAA, ZZZ): Removed, replaced by... (Code_Address_For_AAA, Code_Address_For_ZZZ): ... these functions, who are used instead of constants, to help make Ada.Exception truly preelaborate. (Rcheck_*, Raise_Constraint_Error, Raise_Program_Error, Raise_Storage_Error): File is now a System.Address, to simplify code. (Elab code): Removed, no longer used. (Null_Occurrence): Remove Warnings Off and make this construct preelaborate. Remove code related to front-end zero cost exception handling, since it is no longer used. Remove -gnatL/-gnatZ switches. * a-exexda.adb (Append_Info_Exception_Name, Set_Exception_C_Msg): Update use of Except.Msg. * gnat1drv.adb, inline.adb, bindgen.adb, debug.adb, exp_ch11.ads, freeze.adb, frontend.adb, lib.adb, exp_ch11.adb: Remove code related to front-end zero cost exception handling, since it is no longer used. Remove -gnatL/-gnatZ switches. * lib-writ.ads: Minor reformatting Remove doc of UX * Makefile.rtl: Remove references to s-except*, s-mastop-x86* * Make-lang.in: Remove references to s-except.ads * s-except.ads: Removed, no longer used. * s-mastop.ads, s-mastop.adb: (Enter_Handler, Set_Signal_Machine_State): Removed, no longer used. Remove reference to System.Exceptions. * raise.h, usage.adb, targparm.adb, targparm.ads, switch-m.adb, switch-b.adb: Remove code related to front-end zero cost exception handling, since it is no longer used. Remove -gnatL/-gnatZ switches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103848 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch11.ads')
-rw-r--r--gcc/ada/exp_ch11.ads55
1 files changed, 1 insertions, 54 deletions
diff --git a/gcc/ada/exp_ch11.ads b/gcc/ada/exp_ch11.ads
index 7b8641aca54..ff8e82cbdcd 100644
--- a/gcc/ada/exp_ch11.ads
+++ b/gcc/ada/exp_ch11.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2000 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- --
@@ -41,9 +41,6 @@ package Exp_Ch11 is
-- See runtime routine Ada.Exceptions for full details on the format and
-- content of these tables.
- procedure Initialize;
- -- Initializes these data structures for a new main unit file
-
procedure Expand_At_End_Handler (HSS : Node_Id; Block : Node_Id);
-- Given a handled statement sequence, HSS, for which the At_End_Proc
-- field is set, and which currently has no exception handlers, this
@@ -59,59 +56,9 @@ package Exp_Ch11 is
-- is also called to expand the special exception handler built for
-- accept bodies (see Exp_Ch9.Build_Accept_Body).
- procedure Generate_Unit_Exception_Table;
- -- Procedure called by main driver to generate unit exception table if
- -- zero cost exceptions are enabled. See System.Exceptions for details.
-
function Is_Non_Ada_Error (E : Entity_Id) return Boolean;
-- This function is provided for Gigi use. It returns True if operating on
-- VMS, and the argument E is the entity for System.Aux_Dec.Non_Ada_Error.
-- This is used to generate the special matching code for this exception.
- procedure Remove_Handler_Entries (N : Node_Id);
- -- This procedure is called when optimization circuits determine that
- -- an entire subtree can be removed. If the subtree contains handler
- -- entries in zero cost exception mode, then such removal can lead to
- -- dangling references to non-existent handlers in the handler table.
- -- This procedure removes such references.
-
- --------------------------------------
- -- Subprogram_Descriptor Generation --
- --------------------------------------
-
- -- Subprogram descriptors are required for all subprograms, including
- -- explicit subprograms defined in the program, subprograms that are
- -- imported via pragma Import, and also for the implicit elaboration
- -- subprograms used to elaborate package specs and bodies.
-
- procedure Generate_Subprogram_Descriptor_For_Package
- (N : Node_Id;
- Spec : Entity_Id);
- -- This is used to create a descriptor for the implicit elaboration
- -- procedure for a package spec of body. The compiler only generates
- -- such descriptors if the package spec or body contains exception
- -- handlers (either explicitly in the case of a body, or from generic
- -- package instantiations). N is the node for the package body or
- -- spec, and Spec is the package body or package entity respectively.
- -- N must be a compilation unit, and the descriptor is placed at
- -- the end of the actions for the auxiliary compilation unit node.
-
- procedure Generate_Subprogram_Descriptor_For_Subprogram
- (N : Node_Id;
- Spec : Entity_Id);
- -- This is used to create a desriptor for a subprogram, both those
- -- present in the source, and those implicitly generated by code
- -- expansion. N is the subprogram body node, and Spec is the entity
- -- for the subprogram. The descriptor is placed at the end of the
- -- Last exception handler, or, if there are no handlers, at the end
- -- of the statement sequence.
-
- procedure Generate_Subprogram_Descriptor_For_Imported_Subprogram
- (Spec : Entity_Id;
- Slist : List_Id);
- -- This is used to create a descriptor for an imported subprogram.
- -- Such descriptors are needed for propagation of exceptions through
- -- such subprograms. The descriptor never references any handlers,
- -- and is appended to the given Slist.
-
end Exp_Ch11;