diff options
author | Yannick Moy <moy@adacore.com> | 2019-08-12 08:59:37 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-08-12 08:59:37 +0000 |
commit | 08c8696d4884425839fc5cd14a8788fe53f031e4 (patch) | |
tree | c73fa96b43f78ae4049239e197a1d844430813d4 /gcc/tree.c | |
parent | 33defa7c6c36c0671b81b4785fbb250430a4a953 (diff) | |
download | gcc-08c8696d4884425839fc5cd14a8788fe53f031e4.zip gcc-08c8696d4884425839fc5cd14a8788fe53f031e4.tar.gz gcc-08c8696d4884425839fc5cd14a8788fe53f031e4.tar.bz2 |
[Ada] SPARK: disable expansion of Enum_Rep
Disable expansion of Enum_Rep into a type conversion as it is incorrect
in SPARK.
2019-08-12 Yannick Moy <moy@adacore.com>
gcc/ada/
* exp_spark.adb (Expand_SPARK_N_Attribute_Reference): Only
expand Enum_Rep attribute when its parameter is a literal.
From-SVN: r274289
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions