r178436 - in /trunk/gcc/ada: ChangeLog einfo.ad...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Fri Sep 2 07:14:00 GMT 2011
Author: charlet
Date: Fri Sep 2 07:14:48 2011
New Revision: 178436
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178436
Log:
2011-09-02 Bob Duff <duff@adacore.com>
* einfo.adb: (Has_Xref_Entry): Do not call
Implementation_Base_Type. Lib.Xref has been
rewritten to avoid the need for it, and it was costly.
* s-htable.ads,s-htable.adb: (Present,Set_If_Not_Present): New
functions in support of efficient xref.
* lib-xref-alfa.adb: Misc changes related to Key component of
type Xref_Entry.
* lib-xref.adb: (Add_Entry,etc): Speed improvement.
(New_Entry): Call Implementation_Base_Type, because Has_Xref_Entry
no longer does. This is the one place where it is needed.
2011-09-02 Johannes Kanig <kanig@adacore.com>
* g-comlin.adb (Getopt): New optional argument Concatenate to have
similar interface as the other Getopt function.
2011-09-02 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch4.adb: (Expand_Allocator_Expression): Do not generate
a call to Set_Finalize_Address if there is no allocator available.
* exp_util.adb: (Build_Allocate_Deallocate_Proc): Account for
a case of allocator expansion where the allocator is not expanded but
needs a custom allocate routine. Code reformatting.
(Is_Finalizable_Transient): Remove local variables Has_Rens and
Ren_Obj. Code reformatting.
(Is_Renamed): Renamed to Is_Aliased. Add code to detect aliasing
through the use of 'reference.
* sem_ch4.adb: (Analyze_Allocator): Detect allocators generated
as part of build-in-place expansion. They are intentionally marked as
coming from source, but their parents are not.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/einfo.adb
trunk/gcc/ada/exp_ch4.adb
trunk/gcc/ada/exp_util.adb
trunk/gcc/ada/g-comlin.adb
trunk/gcc/ada/g-comlin.ads
trunk/gcc/ada/lib-xref-alfa.adb
trunk/gcc/ada/lib-xref.adb
trunk/gcc/ada/s-htable.adb
trunk/gcc/ada/s-htable.ads
trunk/gcc/ada/sem_ch4.adb
More information about the Gcc-cvs
mailing list