2007-12-19 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2007 16:25:18 +0000 (16:25 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2007 16:25:18 +0000 (16:25 +0000)
commitfd89b7ee13e80f9a47cb10da0d320f1c1e1f530a
treea4d387637bb01780bed1fc941cc8d38ce89a75f8
parentbb11b54c998f7d147ece4839991da15a0cdd2b6f
2007-12-19  Gary Dismukes  <dismukes@adacore.com>

PR ada/34149
* sem_disp.adb (Check_Dispatching_Call): Augment existing test for
presence of a statically tagged operand (Present (Static_Tag)) with
test for Indeterm_Ancestor_Call when determining whether to propagate
the static tag to tag-indeterminate operands (which forces dispatching
on such calls).
(Check_Controlling_Formals): Ada2005, access parameters can have
defaults.
(Add_Dispatching_Operation, Check_Operation_From_Private_View): do
not insert subprogram in list of primitive operations if already there.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131082 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_disp.adb