exp_ch3.adb (Expand_Freeze_Enumeration_Type): Mark the representation-to-position...
authorHristian Kirtchev <kirtchev@adacore.com>
Thu, 19 Jan 2017 12:01:01 +0000 (12:01 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 19 Jan 2017 12:01:01 +0000 (13:01 +0100)
commit138fc6f10fc6b0b66123a75dfe88b1641cba5e9d
treec89100e3151932081eb5f9cfdf34b9a700543cea
parented20a004e1fe1423e1e6fb2b47a3aeeb5c5a71ab
exp_ch3.adb (Expand_Freeze_Enumeration_Type): Mark the representation-to-position function as inlined.

2017-01-19  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch3.adb (Expand_Freeze_Enumeration_Type): Mark the
representation-to-position function as inlined.
* sem_cat.adb (Set_Categorization_From_Scope): Do not modify
the purity of an internally generated entity if it has been
explicitly marked as pure for optimization purposes.
* exp_aggr.adb: Minor reformatting.

From-SVN: r244624
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch3.adb
gcc/ada/sem_cat.adb