]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/ChangeLog
[Ada] Expand Enum_Rep attribute reference in GNATprove mode
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2019 07:54:10 +0000 (07:54 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2019 07:54:10 +0000 (07:54 +0000)
commitdbf9a3d77c90f8e74c73b05c0d6deee75a475040
tree1f54e5a11b614ceeb8945d3f343e62788e98e341
parent44e00a56ea183e55edda1c42cae8de92f89974c1
[Ada] Expand Enum_Rep attribute reference in GNATprove mode

In the special GNATprove mode for proof of programs, expand the Enum_Rep
attribute reference so that a suitable static integer is in the AST
where required by the rest of analysis.

There is no impact on compilation.

2019-07-09  Yannick Moy  <moy@adacore.com>

gcc/ada/

* exp_spark.adb (Expand_SPARK_N_Attribute_Reference): Expand
attribute reference on Enum_Rep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273276 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_spark.adb