[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 May 2012 12:04:02 +0000 (14:04 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 May 2012 12:04:02 +0000 (14:04 +0200)
commit053cf9940a4086500ebaa994d29b894e8f5ed71a
tree5ce8f11d14fa75ef1364f8589870440489aaec4b
parent8a49a499a558ea71160ccfa5330f6c65af92cf80
[multiple changes]

2012-05-15  Thomas Quinot  <quinot@adacore.com>

* exp_ch4.adb (Has_Inferable_Discriminants): For a qualified
expression, use correct node for test on the subtype denoted by
the subtype mark.

2012-05-15  Eric Botcazou  <ebotcazou@adacore.com>

* inline.adb (Scope_In_Main_Unit): Rename into...
(In_Main_Unit_Or_Subunit): ...this.  Also return
true if the subprogram is within a subunit of the
main unit.
(Add_Inlined_Body): Adjust for above renaming.
(Add_Inlined_Subprogram): Likewise.  Pass the subprogram directly.
(Analyze_Inlined_Bodies): Really set aside inlined subprograms
not handled by Add_Inlined_Body.

From-SVN: r187528
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/inline.adb