]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR ada/34149 (GNAT crash - deeply inrerited function)
authorGary Dismukes <dismukes@adacore.com>
Wed, 19 Dec 2007 16:25:18 +0000 (17:25 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 19 Dec 2007 16:25:18 +0000 (17:25 +0100)
commit20e8cdd795e6d426ff4b7750d6fbe9f2f866fd38
treea4d387637bb01780bed1fc941cc8d38ce89a75f8
parent90067a1585088aa84dde8cc7f796d567231af202
re PR ada/34149 (GNAT crash - deeply inrerited function)

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.

From-SVN: r131082
gcc/ada/sem_disp.adb