[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Sun, 13 Oct 2013 16:17:09 +0000 (18:17 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Sun, 13 Oct 2013 16:17:09 +0000 (18:17 +0200)
commitcf895a0159fe915e00213fa700fbe8a1bc838b7a
tree3c6492702c646f206d699248b305ad3f07f56a18
parent409274f15563bfb31e55ca2a731b6d7bd3ea2f77
[multiple changes]

2013-10-13  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb: in Ada 2012 access_to_function types can have
in-out parameters.
(Derived_Type_Declaration): SPARK restriction
must be flagged on the original node, since it may have been
written as a subtype declaration.
(Analyze_Subtype_Declaration): Do not enter name of
entity in declaration if it is the current entity, because it may
have been inserted in a previous analysis and it appears in the
else_part of an if-statement that is rewritten during expansion.

2013-10-13  Yannick Moy  <moy@adacore.com>

* exp_spark.adb (Expand_SPARK_N_Attribute_Reference): Remove procedure.
(Expand_SPARK): Remove call to Expand_SPARK_N_Attribute_Reference and
Expand_SPARK_N_Simple_Return_Statement.
(Expand_SPARK_N_Simple_Return_Statement,
  Expand_SPARK_Simple_Function_Return): Remove procedures.

From-SVN: r203502
gcc/ada/ChangeLog
gcc/ada/exp_spark.adb
gcc/ada/sem_ch3.adb