r135642 - in /trunk/gcc/ada: sem_dist.adb sem_d...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Tue May 20 12:50:00 GMT 2008
Author: charlet
Date: Tue May 20 12:50:52 2008
New Revision: 135642
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135642
Log:
2008-05-20 Thomas Quinot <quinot@adacore.com>
* sem_dist.ads, sem_dist.adb (Is_RACW_Stub_Type_Operation): New
subprogram.
* sem_type.adb
(Add_One_Interp): Ignore any interpretation that is a primitive
operation of an RACW stub type (these primitives are only executed
through dispatching, never through static calls).
(Collect_Interps): When only one interpretation has been found, set N's
Entity and Etype to that interpretation, otherwise Entity and Etype may
still refer to an interpretation that was ignored by Add_One_Interp,
in which case would end up with being marked as not overloaded but with
an Entity attribute not pointing to its (unique) correct interpretation.
Modified:
trunk/gcc/ada/sem_dist.adb
trunk/gcc/ada/sem_dist.ads
trunk/gcc/ada/sem_type.adb
More information about the Gcc-cvs
mailing list