aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ada/exp_ch9.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch9.adb b/gcc/ada/exp_ch9.adb
index 8abff55..decf617 100644
--- a/gcc/ada/exp_ch9.adb
+++ b/gcc/ada/exp_ch9.adb
@@ -2797,7 +2797,7 @@ package body Exp_Ch9 is
Expected_Comp : Entity_Id;
Stmt : Node_Id;
Stmts : List_Id :=
- New_Copy_List (Statements (Hand_Stmt_Seq));
+ New_Copy_List_Tree (Statements (Hand_Stmt_Seq));
Typ_Size : Int;
Unsigned : Entity_Id;