From 75f6bfcefdb62b6267a10ceb6097c18f5e0973f6 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 22 Jul 2019 13:58:00 +0000 Subject: [PATCH] [Ada] Beef up comment in exp_attr.adb 2019-07-22 Eric Botcazou gcc/ada/ * exp_attr.adb (Expand_Loop_Entry_Attribute): Beef up comment. From-SVN: r273688 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/exp_attr.adb | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 30b798c52df..f85dfc431d8 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2019-07-22 Eric Botcazou + + * exp_attr.adb (Expand_Loop_Entry_Attribute): Beef up comment. + 2019-07-22 Ed Schonberg * libgnat/s-valboo.ads, libgnat/s-valcha.ads, diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb index 2748c519b42..60102a9d8ac 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: -- -- 2.30.2