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 add any new functionality to the compiler. It ensures that attribute Component_Type is only read in entities associated with arrays and strings. No test required. Tested on x86_64-pc-linux-gnu, committed on trunk 2009-07-23 Javier Miranda <miranda@adacore.com> * einfo.adb (Component_Type): Add missing assertion. * sem_res.adb (Resolve_Call): Ensure proper kind of entity before reading attribute Component_Size. * exp_ch4.adb (Is_Safe_In_Place_Array_Op): Ensure proper kind of entity before reading attributes Component_Size and Component_Type. * exp_ch3.adb (Build_Initialization_Call): Ensure proper kind of entity before reading attribute Component_Type.
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] |