r125452 - /trunk/gcc/ada/sem_ch7.adb
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Jun 6 10:44:00 GMT 2007
Author: charlet
Date: Wed Jun 6 10:44:24 2007
New Revision: 125452
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125452
Log:
2007-04-20 Robert Dewar <dewar@adacore.com>
Javier Miranda <miranda@adacore.com>
* sem_ch7.adb (Check_Anonymous_Access_Types): Fix error for null body
(Derive_Inherited_Private_Subprogram): Code cleanup. In case of explicit
overriding of an inherited private subprogram now there is no need to
inherit its dispatching slot and reduce the size of the dispatch table.
Set_All_DT_Position now ensures that the same slot is now assigned to
both entities. This is required to statically build the dispatch table.
(Declare_Inherited_Private_Subprograms): Rewriten to avoid the need
of calling Set_All_DT_Position to re-evaluate the position of the
entries in the dispatch table. Such reevaluation is not desired if
the tagged type is already frozen.
Modified:
trunk/gcc/ada/sem_ch7.adb
More information about the Gcc-cvs
mailing list