diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-07-22 13:58:00 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-22 13:58:00 +0000 |
commit | 75f6bfcefdb62b6267a10ceb6097c18f5e0973f6 (patch) | |
tree | 91003910515e4d8390d498c653b037b02daa3ff6 | |
parent | ca305a848c4f1cc493e61083a14b77df226ac8af (diff) | |
download | gcc-75f6bfcefdb62b6267a10ceb6097c18f5e0973f6.zip gcc-75f6bfcefdb62b6267a10ceb6097c18f5e0973f6.tar.gz gcc-75f6bfcefdb62b6267a10ceb6097c18f5e0973f6.tar.bz2 |
[Ada] Beef up comment in exp_attr.adb
2019-07-22 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* exp_attr.adb (Expand_Loop_Entry_Attribute): Beef up comment.
From-SVN: r273688
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/exp_attr.adb | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 30b798c..f85dfc4 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2019-07-22 Eric Botcazou <ebotcazou@adacore.com> + + * exp_attr.adb (Expand_Loop_Entry_Attribute): Beef up comment. + 2019-07-22 Ed Schonberg <schonberg@adacore.com> * libgnat/s-valboo.ads, libgnat/s-valcha.ads, diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb index 2748c51..60102a9 100644 --- a/gcc/ada/exp_attr.adb +++ b/gcc/ada/exp_attr.adb @@ -1390,8 +1390,9 @@ package body Exp_Attr is -- This avoids the duplication of the same code which may lead -- to gigi issues with respect to multiple declaration of the -- same entity in the presence of side effects or checks. Note - -- that the condition actions must also be relocated to the - -- wrapping function. + -- that the condition actions must also be relocated into the + -- wrapping function because they may contain itypes, e.g. in + -- the case of a comparison involving slices. -- Generate: -- <condition actions> |