2011-08-03 Yannick Moy <moy@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Aug 2011 15:14:04 +0000 (15:14 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Aug 2011 15:14:04 +0000 (15:14 +0000)
commitb11c9a7f241bb1faac01dadb1523b6191f9ce58b
treed4940852674b8fa0e79a064ca50828cda92256d1
parent6d518a17fa8970dbcbcc3ee3f5da75aeb424acc0
2011-08-03  Yannick Moy  <moy@adacore.com>

* sem_ch11.adb (Analyze_Raise_xxx_Error): do not mark such nodes as not
in ALFA. Instead, they are considered as assertions to prove.
* sem_ch4.adb (Analyze_Conditional_Expression): do not always mark such
nodes as not in ALFA. Instead, include conditional expressions in ALFA
if they have no ELSE part, or if they occur in pre- and postconditions,
where the Condition cannot have side-effects in ALFA
(Analyze_Membership_Op): do not mark such nodes as not in ALFA
(Analyze_Type_Conversion): do not always mark such nodes as not in ALFA.
Instead, include type conversion between scalar types in ALFA.
* sem_ch6.adb (Process_Formals): correctly mark a parameter in ALFA
if-and-only-if its type is in ALFA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177285 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_ch11.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch6.adb