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
015f33d7
Commit
015f33d7
authored
Jul 04, 2016
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r237962
parent
9d1d00ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
gcc/ada/freeze.adb
+2
-2
gcc/ada/sem_prag.ads
+5
-7
No files found.
gcc/ada/freeze.adb
View file @
015f33d7
...
@@ -1403,8 +1403,8 @@ package body Freeze is
...
@@ -1403,8 +1403,8 @@ package body Freeze is
while
Present
(
Op_Node
)
loop
while
Present
(
Op_Node
)
loop
Prim
:=
Node
(
Op_Node
);
Prim
:=
Node
(
Op_Node
);
--
Map
the
overridden
primitive
to
the
overriding
one
.
This
--
Map
the
overridden
primitive
to
the
overriding
one
.
This
takes
--
takes
care
of
all
overridings
and
is
done
only
once
.
--
care
of
all
overridings
and
is
done
only
once
.
if
Present
(
Overridden_Operation
(
Prim
))
if
Present
(
Overridden_Operation
(
Prim
))
and
then
Comes_From_Source
(
Prim
)
and
then
Comes_From_Source
(
Prim
)
...
...
gcc/ada/sem_prag.ads
View file @
015f33d7
...
@@ -531,12 +531,10 @@ package Sem_Prag is
...
@@ -531,12 +531,10 @@ package Sem_Prag is
procedure
Update_Primitives_Mapping
procedure
Update_Primitives_Mapping
(
Inher_Id
:
Entity_Id
;
(
Inher_Id
:
Entity_Id
;
Subp_Id
:
Entity_Id
);
Subp_Id
:
Entity_Id
);
--
Map
primitive
operations
of
the
parent
type
to
the
corresponding
--
map
primitive
operations
of
the
parent
type
to
the
corresponding
--
operations
of
the
descendant
.
Note
that
the
descendant
type
may
not
be
--
operations
of
the
descendant
.
note
that
the
descendant
type
may
--
frozen
yet
,
so
we
cannot
use
the
dispatch
table
directly
.
This
is
called
--
not
be
frozen
yet
,
so
we
cannot
use
the
dispatch
table
directly
.
--
when
elaborating
a
contract
for
a
subprogram
,
and
when
freezing
a
type
--
This
is
called
when
elaborating
a
contract
for
a
subprogram
,
and
--
extension
to
verify
legality
rules
on
inherited
conditions
.
--
when
freezing
a
type
extension
to
verify
legality
rules
on
inherited
--
conditions
.
end
Sem_Prag
;
end
Sem_Prag
;
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