[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 24 Apr 2013 13:01:09 +0000 (15:01 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 24 Apr 2013 13:01:09 +0000 (15:01 +0200)
commitca3e17b09114fea7ff08ed215ae79482ad16b706
tree781b21d6e1e2aa0ae4b87e428407ea11858bafeb
parent19e34aa27ad18b85b2a27fbc926be73dfbb92968
[multiple changes]

2013-04-24  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb: Create packed array only when expander is
active.

2013-04-24  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_prag.adb (Analyze_Depends_In_Decl_Part): Install the formals only
when the context warrants it.
(Analyze_Global_In_Decl_List): Install the formals only when
the context warrants it.
(Requires_Profile_Installation): New routine.

2013-04-24  Ed Schonberg  <schonberg@adacore.com>

* exp_ch6.adb (Expand_N_Simple_Return_Statement): When the return
type is a discriminated private type that does not require use
of the secondary stack, a constrained subtype of the underlying
type is created to convey the proper object size to the backend.
If the return type is originally a private type, the return
expression is wrapped in an unchecked_conversion. If the return
expression is used subsequently in a call to the postcondition
function, this conversion must be undone to prevent a spurious
error on the analysis of that call.

From-SVN: r198222
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_prag.adb