OSDN Git Service

2010-06-22 Thomas Quinot <quinot@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2010 16:22:58 +0000 (16:22 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2010 16:22:58 +0000 (16:22 +0000)
commit7407cb52a73194cdda1251228b5447a07cb44085
treea9a02f49a226ae852a959602d7df85ceb26d807b
parent21256416bbcefcd911055bb0bc1c7119eec77403
2010-06-22  Thomas Quinot  <quinot@adacore.com>

* exp_aggr.adb (Rewrite_Discriminant): Fix predicate used to identify
reference to discriminant (can be an expanded name as well as an
identifier).

2010-06-22  Ed Schonberg  <schonberg@adacore.com>

* exp_ch6.adb: Clarify comment.

2010-06-22  Geert Bosch  <bosch@adacore.com>

* exp_imgv.adb (Expand_Image_Attribute): Treat ordinary fixed point
with decimal small as decimal types, avoiding floating-point arithmetic.
(Has_Decimal_Small): New function.
* einfo.ads, einfo.adb (Aft_Value): New synthesized attributed for
fixed point types.
* sem_attr.adb (Eval_Attribute): Remove Aft_Value function and update
callers to call the new function in Einfo that takes the entity as
parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161200 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_imgv.adb
gcc/ada/sem_attr.adb