[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 11 Oct 2010 09:30:15 +0000 (11:30 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 11 Oct 2010 09:30:15 +0000 (11:30 +0200)
commit9c870c905e4fe4f70cce91aa968273df5125a21a
tree26a4d32040c308a032852eb697b536ea2afef248
parent21a5b575cfbb5cb2395cbd0689c718fa76f7c686
[multiple changes]

2010-10-11  Gary Dismukes  <dismukes@adacore.com>

* sem_disp.adb (Check_Dispatching_Operation): Revise test for warning
about nondispatching subprograms to use In_Same_List (reducing use of
Parent links).

2010-10-11  Ed Schonberg  <schonberg@adacore.com>

* xr_tabls.adb, sem_res.adb, lib-xref.adb, lib-xref.ads: Use s for
reference in a static call.

2010-10-11  Steve Baird  <baird@adacore.com>

* exp_attr.adb (Expand_N_Attribute_Reference, case Type_Key): Type_Key
attribute should always be transformed into a string literal in
Analyze_Attribute.
* par-ch4.adb: Type_Key attribute's type is String; update value of
Is_Parameterless_Attribute constant to reflect this.
* sem_attr.adb (Analyze_Attribute): Recognize Type_Key attribute and
rewrite it as a string literal (attribute value is always known
statically).
* snames.ads-tmpl: Add entries for Type_Key attribute.

From-SVN: r165285
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb
gcc/ada/lib-xref.adb
gcc/ada/lib-xref.ads
gcc/ada/par-ch4.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_disp.adb
gcc/ada/sem_res.adb
gcc/ada/snames.ads-tmpl
gcc/ada/xr_tabls.adb