[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 19 Mar 2012 16:29:27 +0000 (17:29 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 19 Mar 2012 16:29:27 +0000 (17:29 +0100)
commit78c0f016063f856d4d35ba5591fbe825d7ab6544
treea03face93f0687dec95d67ec03cef5955cc2aca5
parenta49565158271693fa8f994ba9b35f00b9ee25028
[multiple changes]

2012-03-19  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch3.adb (Get_Discriminant_Value): Instead of looking
at the immediate correcponsing discriminant, traverse a
potential chain of discriminants produced by type derivations.
(Root_Corresponding_Discriminant): Traverse a chain of inherited
discriminants and return the topmost discriminant.

2012-03-19  Bob Duff  <duff@adacore.com>

* debug.adb: Minor comment change.
* gnat_ugn.texi: Update documentation for elaboration regarding
indirect calls.

2012-03-19  Gary Dismukes  <dismukes@adacore.com>

* exp_ch3.adb (Expand_N_Object_Declaration): In
the case of an object of a class-wide interface type, where the
declaration is rewritten as a renaming, call Set_Debug_Info_Needed
on the renaming entity so that Materialize_Entity will be
set. Also, change existing call (for other than interface cases)
to call Set_Debug_Info_Needed rather than Set_Needs_Debug_Info
(as specified for that flag).

From-SVN: r185526
gcc/ada/ChangeLog
gcc/ada/debug.adb
gcc/ada/exp_ch3.adb
gcc/ada/gnat_ugn.texi
gcc/ada/sem_ch3.adb