aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-11-12 10:59:25 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2015-11-12 11:59:25 +0100
commitc31b57af9064a673ef4958a35a709735754e0afe (patch)
treea2f2cf157298438444a07161643f881d168cd92b /gcc/ada/init.c
parent16f1996259366f82d31429463b0b80f7bdf3cd56 (diff)
downloadgcc-c31b57af9064a673ef4958a35a709735754e0afe.zip
gcc-c31b57af9064a673ef4958a35a709735754e0afe.tar.gz
gcc-c31b57af9064a673ef4958a35a709735754e0afe.tar.bz2
einfo.ads (Overlays_Constant): Document usage for E_Constant.
2015-11-12 Eric Botcazou <ebotcazou@adacore.com> * einfo.ads (Overlays_Constant): Document usage for E_Constant. * freeze.adb (Warn_Overlay): Small reformatting. (Check_Address_Clause): Deal specifically with deferred constants. For a variable or a non-imported constant overlaying a constant object and with initialization value, either remove the initialization or issue a warning. Fix a couple of typos. * sem_util.adb (Note_Possible_Modification): Overhaul the condition for the warning on modified constants and use Find_Overlaid_Entity instead of doing it manually. * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Compute and set Overlays_Constant once on entry. Do not treat the overlaid entity as volatile. Do not issue the warning on modified constants here. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: Remove over-restrictive condition for the special treatment of deferred constants. <E_Variable>: Remove obsolete associated code. From-SVN: r230229
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions