This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch does not modify the functionality of the compiler. It moves the generation of internal interface entities associated with interfaces to the semantic analyzer. Done to provide ASIS with such information. These internal entities provide the relationship between the interface primitives and the tagged type primitives that cover them. Tested on x86_64-pc-linux-gnu, committed on trunk 2009-07-29 Javier Miranda <miranda@adacore.com> * sem_ch3.ads, sem_ch3.adb (Add_Internal_Interface_Entities): Routine moved from the expander to the semantic analyzer to allow the generation of these internal entities when compiling with no code generation. Required by ASIS. * sem.adb (Analyze): Add processing for N_Freeze_Entity nodes. * sem_ch13.ads, sem_ch13.adb (Analyze_Freeze_Entity): New subprogram. * exp_ch3.adb (Add_Internal_Interface_Entities): Moved to sem_ch3 (Expand_Freeze_Record_Type): Remove call to Add_Internal_Interface_Entities because this routine is now called at early stage --when the freezing node is analyzed.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |