2016-04-21 Ed Schonberg <schonberg@adacore.com>
commita2d36a1f45397be49b24ffed69f500c0c6da42b0
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2016 09:39:38 +0000 (21 09:39 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Apr 2016 09:39:38 +0000 (21 09:39 +0000)
tree7c88202b47a8f36b2eaebf00561b9256dd6e900f
parent523f3a9d4fcbb5281bfd83c4010b22ce8aadad7b
2016-04-21  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Analyze_Subtype_Declaration): A subtype
declaration with no aspects, whose subtype_mark is a subtype
with predicates, inherits the list of subprograms for the type.

2016-04-21  Arnaud Charlet  <charlet@adacore.com>

* exp_aggr.adb (Has_Per_Object_Constraint): Refine previous
change.

2016-04-21  Thomas Quinot  <quinot@adacore.com>

* g-socket.adb (Raise_Host_Error): Include additional Name parameter.

2016-04-21  Ed Schonberg  <schonberg@adacore.com>

* lib-writ.adb (Write_ALI): Do not record in ali file units
that are present in the files table but not analyzed. These
units are present because they appear in the context of units
named in limited_with clauses, and the unit being compiled does
not depend semantically on them.

2016-04-21  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Simplify code to
create the procedure body for an function returning an array type,
when generating C code. Reuse the subprogram body rather than
creating a new one, both as an efficiency measure and because
in an instance the body may contain global references that must
be preserved.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235324 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb
gcc/ada/g-socket.adb
gcc/ada/lib-writ.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch6.adb