Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
16e49553
Commit
16e49553
authored
Oct 16, 2015
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete previous change.
From-SVN: r228905
parent
f66a9a76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
gcc/ada/a-contai.adb
+10
-0
No files found.
gcc/ada/a-contai.adb
View file @
16e49553
...
@@ -63,7 +63,9 @@ package body Ada.Containers is
...
@@ -63,7 +63,9 @@ package body Ada.Containers is
--------------
--------------
procedure
Finalize
(
Control
:
in
out
Reference_Control_Type
)
is
procedure
Finalize
(
Control
:
in
out
Reference_Control_Type
)
is
pragma
Warnings
(
Off
);
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Warnings
(
On
);
begin
begin
if
Control
.
T_Counts
/=
null
then
if
Control
.
T_Counts
/=
null
then
Unlock
(
Control
.
T_Counts
.
all
);
Unlock
(
Control
.
T_Counts
.
all
);
...
@@ -75,13 +77,17 @@ package body Ada.Containers is
...
@@ -75,13 +77,17 @@ package body Ada.Containers is
--
are
limited
.
--
are
limited
.
procedure
Finalize
(
Busy
:
in
out
With_Busy
)
is
procedure
Finalize
(
Busy
:
in
out
With_Busy
)
is
pragma
Warnings
(
Off
);
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Warnings
(
On
);
begin
begin
Unbusy
(
Busy
.
T_Counts
.
all
);
Unbusy
(
Busy
.
T_Counts
.
all
);
end
Finalize
;
end
Finalize
;
procedure
Finalize
(
Lock
:
in
out
With_Lock
)
is
procedure
Finalize
(
Lock
:
in
out
With_Lock
)
is
pragma
Warnings
(
Off
);
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Warnings
(
On
);
begin
begin
Unlock
(
Lock
.
T_Counts
.
all
);
Unlock
(
Lock
.
T_Counts
.
all
);
end
Finalize
;
end
Finalize
;
...
@@ -91,13 +97,17 @@ package body Ada.Containers is
...
@@ -91,13 +97,17 @@ package body Ada.Containers is
----------------
----------------
procedure
Initialize
(
Busy
:
in
out
With_Busy
)
is
procedure
Initialize
(
Busy
:
in
out
With_Busy
)
is
pragma
Warnings
(
Off
);
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Warnings
(
On
);
begin
begin
Generic_Implementation
.
Busy
(
Busy
.
T_Counts
.
all
);
Generic_Implementation
.
Busy
(
Busy
.
T_Counts
.
all
);
end
Initialize
;
end
Initialize
;
procedure
Initialize
(
Lock
:
in
out
With_Lock
)
is
procedure
Initialize
(
Lock
:
in
out
With_Lock
)
is
pragma
Warnings
(
Off
);
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Assert
(
T_Check
);
--
not
called
if
check
suppressed
pragma
Warnings
(
On
);
begin
begin
Generic_Implementation
.
Lock
(
Lock
.
T_Counts
.
all
);
Generic_Implementation
.
Lock
(
Lock
.
T_Counts
.
all
);
end
Initialize
;
end
Initialize
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment