[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 13 Jan 2017 10:24:28 +0000 (11:24 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 13 Jan 2017 10:24:28 +0000 (11:24 +0100)
commitda9683f4dbc85066c290798a14d1158f804f92a2
treec30d14feaa65425fda4394198a472a663338db04
parent3de3a1be9ee8c46efce3714cbbecaae0c7efe3f0
[multiple changes]

2017-01-13  Yannick Moy  <moy@adacore.com>

* inline.adb (Remove_Aspects_And_Pragmas): Add Unused to the
list of pragmas to remove.  Remove pragmas from the list of
statements in the body to inline.
* namet.adb, namet.ads (Nam_In): New version with 12 parameters.

2017-01-13  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Resolve_Aspects): New procedure, subsidiary of
Analyze_Declarations, to analyze and resolve the expressions of
aspect specifications in the current declarative list, so that
the expressions have proper entity and type info.  This is needed
for ASIS when there is no subsequent expansion to generate this
semantic information.
* sem_ch13.adb (Check_Aspect_At_End_Of_Declarations): Use Etype of
original expression, to suppress cascaded errors when expression
has been constant-folded.
(Resolve_Aspect_Expressions, Resolve_Name): Preserve entities in
ASIS mode, because there is no subsequent expansion to decorate
the tree.

From-SVN: r244409
gcc/ada/ChangeLog
gcc/ada/inline.adb
gcc/ada/namet.adb
gcc/ada/namet.ads
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch3.adb