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
e5536c09
Commit
e5536c09
authored
Sep 10, 2010
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments.
From-SVN: r164188
parent
c768e988
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
gcc/ada/sem_ch6.adb
+12
-13
No files found.
gcc/ada/sem_ch6.adb
View file @
e5536c09
...
...
@@ -5652,19 +5652,18 @@ package body Sem_Ch6 is
E
,
BIP_Formal_Suffix
(
BIP_Alloc_Form
));
end
if
;
--
In
the
case
of
functions
whose
result
type
has
controlled
--
parts
,
we
have
an
extra
formal
of
type
--
System
.
Finalization_Implementation
.
Finalizable_Ptr_Ptr
.
That
--
is
,
we
are
passing
a
pointer
to
a
finalization
list
(
which
is
--
itself
a
pointer
).
This
extra
formal
is
then
passed
along
to
--
Move_Final_List
in
case
of
successful
completion
of
a
return
--
statement
.
We
cannot
pass
an
'in out'
parameter
,
because
we
--
need
to
update
the
finalization
list
during
an
abort
-
deferred
--
region
,
rather
than
using
copy
-
back
after
the
function
--
returns
.
This
is
true
even
if
we
are
able
to
get
away
with
--
having
'in out'
parameters
,
which
are
normally
illegal
for
--
functions
.
This
formal
is
also
needed
when
the
function
has
--
a
tagged
result
.
--
For
functions
whose
result
type
has
controlled
parts
,
we
have
--
an
extra
formal
of
type
System
.
Finalization_Implementation
.
--
Finalizable_Ptr_Ptr
.
That
is
,
we
are
passing
a
pointer
to
a
--
finalization
list
(
which
is
itself
a
pointer
).
This
extra
--
formal
is
then
passed
along
to
Move_Final_List
in
case
of
--
successful
completion
of
a
return
statement
.
We
cannot
pass
an
--
'in out'
parameter
,
because
we
need
to
update
the
finalization
--
list
during
an
abort
-
deferred
region
,
rather
than
using
--
copy
-
back
after
the
function
returns
.
This
is
true
even
if
we
--
are
able
to
get
away
with
having
'in out'
parameters
,
which
are
--
normally
illegal
for
functions
.
This
formal
is
also
needed
when
--
the
function
has
a
tagged
result
.
if
Needs_BIP_Final_List
(
E
)
then
Discard
:=
...
...
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