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 is a small optimization to avoid generating superfluous temporaries for the construction of array aggregates. If the bounds of the slice already are of the base type of the index, there is no need to qualify them, which would trigger the creation of various temporaries downhill. No functional change. Tested on x86_64-pc-linux-gnu, committed on trunk 2009-07-22 Eric Botcazou <ebotcazou@adacore.com> * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if they are already of the base type of the index.
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] |