r223563 - in /trunk/gcc/ada: ChangeLog a-cdlili...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Fri May 22 13:01:00 GMT 2015
Author: charlet
Date: Fri May 22 13:01:37 2015
New Revision: 223563
URL: https://gcc.gnu.org/viewcvs?rev=223563&root=gcc&view=rev
Log:
2015-05-22 Robert Dewar <dewar@adacore.com>
* einfo.ads: Minor comment updates.
* exp_unst.adb: Move Subps table to spec Don't remove old entries
from table Add Last field to record last entry used.
* exp_unst.ads: Move Subps table here from body So that Cprint
can access saved values.
2015-05-22 Bob Duff <duff@adacore.com>
* a-cdlili.adb, a-cdlili.ads, a-cohama.adb, a-cohama.ads,
* a-cohase.adb, a-cohase.ads, a-convec.adb, a-convec.ads,
* a-coorma.adb, a-coorma.ads, a-coorse.adb, a-coorse.ads:
(Pseudo_Reference, Element_Access, Get_Element_Access): New
declarations added for use by performance improvements in exp_ch5.adb.
* snames.ads-tmpl: New names referenced by exp_ch5.adb.
* exp_ch5.adb: Speed up "for ... of" loops for predefined containers.
Instead of doing literally what the RM calls for, we do something
equivalent that avoids expensive operations inside the loop. If the
container package has appropriate Next, Pseudo_Reference,
Element_Access, Get_Element_Access declarations, we invoke the
optimization.
* snames.ads-tmpl: Note speed improvement.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/a-cdlili.adb
trunk/gcc/ada/a-cdlili.ads
trunk/gcc/ada/a-cohama.adb
trunk/gcc/ada/a-cohama.ads
trunk/gcc/ada/a-cohase.adb
trunk/gcc/ada/a-cohase.ads
trunk/gcc/ada/a-convec.adb
trunk/gcc/ada/a-convec.ads
trunk/gcc/ada/a-coorma.adb
trunk/gcc/ada/a-coorma.ads
trunk/gcc/ada/a-coorse.adb
trunk/gcc/ada/a-coorse.ads
trunk/gcc/ada/einfo.ads
trunk/gcc/ada/exp_ch5.adb
trunk/gcc/ada/exp_unst.adb
trunk/gcc/ada/exp_unst.ads
trunk/gcc/ada/snames.ads-tmpl
More information about the Gcc-cvs
mailing list