This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125452 - /trunk/gcc/ada/sem_ch7.adb
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Jun 2007 10:44:25 -0000
- Subject: r125452 - /trunk/gcc/ada/sem_ch7.adb
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