home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
- Errata for changes to Chapter 11 version 21
-
-
-
- 11.1 Exception Declarations (paragraphs 8 9)11.1 Exception Declarations (paragraphs 8 9)11.1 Exception Declarations (paragraphs 8 9)
-
-
-
- STORAGE_ERROR This exception is raised in any of the following situations: when the dynamic
- storage allocated to a task is exceeded; during the evaluation of an allocator, if
- the space available for the collection of allocated objects is exhausted; or
- during the elaboration of a declarative item, or during the execution of a
- subprogram call, if storage is not sufficient.
-
- TASKING_ERROR This exception is raised when exceptions arise during intertask communication (see
- 9 and 11.5).
-
-
-
- 11.1 Exception Declarations (paragraph 17)11.1 Exception Declarations (paragraph 17)11.1 Exception Declarations (paragraph 17)
-
-
- Tasking_______ error_____ exception_________ contexts________: abort statement 9.10, entry call 9.5 9.7.2 9.7.3, exceptions
- during task communication 11.5, task activation 9.3
-
-
-
- 11.2 (paragraph 8)11.2 (paragraph 8)11.2 (paragraph 8)
-
-
- The same kinds of statement are allowed in the sequence of statements of each exception handler as
- are allowed in the sequence of statements of the frame. For example, a return statement is
- allowed in a handler within a function body.
-
-
-
- 11.6 Exceptions and Optimization (paragraph 2)11.6 Exceptions and Optimization (paragraph 2)11.6 Exceptions and Optimization (paragraph 2)
-
-
- In general, when the language rules specify an order for certain actions (the canonical_________ order_____), an
- implementation may only use an alternative order if it can guarantee that the effect of the
- program is not changed by the reordering. In particular, no exception should arise for the
- execution of the reordered program if none arises for the execution of the program in the
- canonical order. When, on the other hand, the order of certain actions is not defined by the
- language, any order can be used by the implementation. (For example, the arguments of a
- predefined operator can be evaluated in any order since the rules given in section 4.5 do not
- require a specific order of evaluation.)
-
-
-
- 11.6 Exceptions and Optimization (paragraph 7)11.6 Exceptions and Optimization (paragraph 7)11.6 Exceptions and Optimization (paragraph 7)
-
-
- A predefined operation need not be invoked at all, if its only possible effect is to propagate a
- predefined exception. Similarly, a predefined operation need not be invoked if the removal of
- subsequent operations by the above rule renders this invocation ineffective.
-
-
-
-
-
- -1 Exceptions and Optimization (paragraph 7) 11.6
-
-
-
-
- Notes:______
-
-
-
- 11.6 Exceptions and Optimization (paragraph 12)11.6 Exceptions and Optimization (paragraph 12)11.6 Exceptions and Optimization (paragraph 12)
-
-
- References:___________ accept statement 9.5, accuracy of real operations 4.5.7, assignment 5.2, base type
- 3.3, basic operation 3.3.3, conversion 4.6, error situation 11, exception 11, exception handler
- 11.2, frame 11.2, numeric_error exception 11.1, predefined operator 4.5, predefined subprogram
- 8.6, propagation of an exception 11.4, real type 3.5.6, undefined value 3.2.1
-
-
-
- 11.7 Suppressing Checks (paragraph 3 4)11.7 Suppressing Checks (paragraph 3 4)11.7 Suppressing Checks (paragraph 3 4)
-
-
- A pragma SUPPRESS is only allowed immediately within a declarative part or immediately within a
- package specification. In the latter case, the only allowed form is with a name that denotes an
- entity (or several overloaded subprograms) declared immediately within the package specification.
- The permission to omit the given check extends from the place of the pragma to the end of the
- declarative region associated with the innermost enclosing block statement or program unit. For a
- pragma given in a package specification, the permission extends to the end of the scope of the
- named entity.
-
- If the pragma includes a name, the permission to omit the given check is further restricted: it
- is given only for operations on the named object or on all objects of the base type of a named
- type or subtype; for calls of a named subprogram; for activations of tasks of the named task
- type; or for instantiations of the given generic unit.
-
-
-
- 11.7 Suppressing Checks (paragraph 21)11.7 Suppressing Checks (paragraph 21)11.7 Suppressing Checks (paragraph 21)
-
-
- References:___________
-
- access type 3.8, access value 3.8, activation 9.3, aggregate 4.3, allocator 4.8, array 3.6,
- attribute 4.1.4, block statement 5.6, collection 3.8, compatible 3.3.2, component of an array 3.6,
- component of a record 3.7, composite type 3.3, constraint 3.3, constraint_error exception 11.1,
- declarative part 3.9, designate 3.8, dimension 3.6, discrete range 3.6, discriminant 3.7.1,
- discriminant constraint 3.7.2, elaboration 3.1 3.9, erroneous 1.6, error situation 11, expanded
- name 4.1.3, generic body 11.1, generic instantiation 12.3, generic unit 12, identifier 2.3, index
- 3.6, index constraint 3.6.1, indexed component 4.1.1, null access value 3.8, numeric operation
- 3.5.5 3.5.8 3.5.10, numeric type 3.5, numeric_error exception 11.1, object 3.2, operation 3.3.3,
- package body 7.1, package specification 7.1, pragma 2.8, program_error exception 11.1, program
- unit 6, propagation of an exception 11.4, range constraint 3.5, record type 3.7, simple name 4.1,
- slice 4.1.2, subprogram 6, subprogram body 6.3, subprogram call 6.4, subtype 3.3, subunit 10.2,
- task 9, task body 9.1, task type 9.1, task unit 9, type 3.3, type mark 3.3.2
-
-
-
-
-
-
-
-
-
-
-
-
- 11.7 Suppressing Checks (paragraph 21) -2
-