[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 9 Jul 2009 10:29:09 +0000 (12:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 9 Jul 2009 10:29:09 +0000 (12:29 +0200)
commit3f92c93b3cb05c6bf529d6bd4163b4d0e4beec57
tree9ef2c3b88ec0004f8860549feec8bccde0e38af0
parentf6cf5b85eaeb6eecadf7010c1b99e809023a4d6d
[multiple changes]

2009-07-09  Ed Schonberg  <schonberg@adacore.com>

* sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the
condition, to prevent generation of visible code during expansion,
when Check is not enabled.

2009-07-09  Gary Dismukes  <dismukes@adacore.com>

* checks.adb (Install_Static_Check): Call Possible_Local_Raise so that
the check gets registered for any available local handler
(Set_Local_Raise).

* sem_util.adb: Add with and use of Exp_Ch11.
(Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so
that the check gets registered for any available local handler.

* exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check
on slice ranges.

2009-07-09  Steve Baird  <baird@adacore.com>

* exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New
function.
(Expand_N_Exception_Declaration): Fix handling of exceptions
declared in a subprogram.

From-SVN: r149413
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/exp_ch11.adb
gcc/ada/exp_ch4.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb