]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/sem_eval.adb
exp_ch9.adb (Ensure_Statement_Present): New subprogram.
authorThomas Quinot <quinot@adacore.com>
Mon, 16 Jul 2012 13:03:26 +0000 (13:03 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 16 Jul 2012 13:03:26 +0000 (15:03 +0200)
commit9d08a38d3b668199dbb2b6ebd501bb857af5da57
tree23e7cb26c9189555eb78e2c0030c6b790877262d
parent70805b8834c831e0df8241ee883b6d14c923f58e
exp_ch9.adb (Ensure_Statement_Present): New subprogram.

2012-07-16  Thomas Quinot  <quinot@adacore.com>

* exp_ch9.adb (Ensure_Statement_Present): New subprogram.
(Expand_N_Asynchronous_Select,
Expand_N_Selective_Accept.Process_Accept_Alternative,
Expand_N_Selective_Accept.Process_Delay_Alternative,
Expand_N_Timed_Entry_Call): For an alternative with no trailing
statements, introduce a null statement to carry the sloc of
the initial special statement (accept, delay, or entry call)
in the alternative, for coverage analysis purposes.

2012-07-16  Thomas Quinot  <quinot@adacore.com>

* sem_eval.adb (In_Subrange_Of): Fix typo in test for scalar
arguments.

From-SVN: r189535
gcc/ada/ChangeLog
gcc/ada/exp_ch9.adb
gcc/ada/sem_eval.adb