aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch4.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_ch4.adb')
-rw-r--r--gcc/ada/exp_ch4.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb
index ec5bb32..48a96d8 100644
--- a/gcc/ada/exp_ch4.adb
+++ b/gcc/ada/exp_ch4.adb
@@ -356,7 +356,7 @@ package body Exp_Ch4 is
Prefix => Arg2,
Attribute_Name => Name_Address),
Make_Attribute_Reference (Loc,
- Prefix => Op1,
+ Prefix => Arg1,
Attribute_Name => Name_Length)));
end if;