summaryrefslogtreecommitdiff
path: root/gcc/ada/atree.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/atree.adb')
-rw-r--r--gcc/ada/atree.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb
index 9137602b15c..0505b86868d 100644
--- a/gcc/ada/atree.adb
+++ b/gcc/ada/atree.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2016, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2017, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -1579,12 +1579,12 @@ package body Atree is
procedure Lock is
begin
- Nodes.Locked := True;
- Flags.Locked := True;
- Orig_Nodes.Locked := True;
Nodes.Release;
+ Nodes.Locked := True;
Flags.Release;
+ Flags.Locked := True;
Orig_Nodes.Release;
+ Orig_Nodes.Locked := True;
end Lock;
----------------