aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_aggr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_aggr.adb')
-rw-r--r--gcc/ada/exp_aggr.adb7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/exp_aggr.adb b/gcc/ada/exp_aggr.adb
index 187bb5f..572c6c5 100644
--- a/gcc/ada/exp_aggr.adb
+++ b/gcc/ada/exp_aggr.adb
@@ -8978,11 +8978,8 @@ package body Exp_Aggr is
Kind := Nkind (Node);
end if;
- if Kind not in N_Aggregate | N_Extension_Aggregate then
- return False;
- else
- return Expansion_Delayed (Node);
- end if;
+ return Kind in N_Aggregate | N_Extension_Aggregate
+ and then Expansion_Delayed (Node);
end Is_Delayed_Aggregate;
--------------------------------