r274289 - in /trunk/gcc/ada: ChangeLog exp_spar...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Mon Aug 12 09:06:00 GMT 2019


Author: pmderodat
Date: Mon Aug 12 08:59:37 2019
New Revision: 274289

URL: https://gcc.gnu.org/viewcvs?rev=274289&root=gcc&view=rev
Log:
[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.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/exp_spark.adb



More information about the Gcc-cvs mailing list