OSDN Git Service

2009-07-09 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 2009 10:29:09 +0000 (10:29 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 2009 10:29:09 +0000 (10:29 +0000)
commit840ab274168c087d85baa2f76dbd5ad6e35e8edc
tree9ef2c3b88ec0004f8860549feec8bccde0e38af0
parentebaec1b14dd688d7494ae59431faad58513ec387
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149413 138bc75d-0d04-0410-961f-82ee72b054a4
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