sem_disp.adb (Is_Dynamically_Tagged): when applied to an entity or a function call...
authorEd Schonberg <schonberg@adacore.com>
Fri, 30 Jan 2015 09:29:51 +0000 (09:29 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 30 Jan 2015 09:29:51 +0000 (10:29 +0100)
commitb6dd03dd9c48470246b4b47e7471b2cf99c65737
tree9de9ba7528c8a2e075365fb8f9362f6be20eb86a
parent566d377a296f571eed3af6609f75d57e9bb5eb13
sem_disp.adb (Is_Dynamically_Tagged): when applied to an entity or a function call, return True if type is class-wide.

2015-01-30  Ed Schonberg  <schonberg@adacore.com>

* sem_disp.adb (Is_Dynamically_Tagged): when applied to an entity
or a function call, return True if type is class-wide.
* sem_res.adb (Resolve_Case_Expression, Resolve_If_Expression);
Apply RM 4.5.7 (17/3): all or none of the dependent expression
of a conditional expression must be dynamically tagged.

From-SVN: r220276
gcc/ada/ChangeLog
gcc/ada/sem_disp.adb
gcc/ada/sem_res.adb