[Ada] Update FE check following change in SPARK RM 7.1.3(12)
commitcb1a067201dec2585968531ee1a03363bf9210f5
authorYannick Moy <moy@adacore.com>
Mon, 28 May 2018 08:55:35 +0000 (28 08:55 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 28 May 2018 08:55:35 +0000 (28 08:55 +0000)
treed921ff0a59b546253d25386934a70b527fdaa173
parentcc821e65107ed263200b8ee6650f0704311757c9
[Ada] Update FE check following change in SPARK RM 7.1.3(12)

SPARK Reference Manual changed to accept attributes First, Last and Length
as not leading to an evaluation of a part of the prefix object. This is
reflected here in the checking code for that rule.

2018-05-28  Yannick Moy  <moy@adacore.com>

gcc/ada/

* sem_util.adb (Is_OK_Volatile_Context): Add attributes First, Last and
Length as valid non-interfering contexts for SPARK.

From-SVN: r260836
gcc/ada/ChangeLog
gcc/ada/sem_util.adb