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
611d5e3c
Commit
611d5e3c
authored
Apr 25, 2017
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r247138
parent
605afee8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
gcc/ada/rtsfind.adb
+1
-0
gcc/ada/sem_ch13.adb
+1
-2
gcc/ada/sem_ch6.adb
+12
-12
No files found.
gcc/ada/rtsfind.adb
View file @
611d5e3c
...
...
@@ -1657,6 +1657,7 @@ package body Rtsfind is
pragma
Assert
(
GNATprove_Mode
);
--
Force
loading
of
a
predefined
unit
Unused
:=
RTE
(
E
);
end
SPARK_Implicit_Load
;
...
...
gcc/ada/sem_ch13.adb
View file @
611d5e3c
...
...
@@ -12688,7 +12688,6 @@ package body Sem_Ch13 is
E : Entity_Id;
begin
-- Types with nameable components are records and discriminated
-- private types.
...
...
@@ -12705,7 +12704,7 @@ package body Sem_Ch13 is
end loop;
end if;
-- Nothing by that name, or t
ype has no components.
-- Nothing by that name, or t
he type has no components
return Empty;
end Visible_Component;
...
...
gcc/ada/sem_ch6.adb
View file @
611d5e3c
...
...
@@ -1391,8 +1391,8 @@ package body Sem_Ch6 is
Null_Body
:=
Make_Subprogram_Body
(
Loc
,
Specification
=>
New_Copy_Tree
(
Spec
),
Declarations
=>
New_List
,
Specification
=>
New_Copy_Tree
(
Spec
),
Declarations
=>
New_List
,
Handled_Statement_Sequence
=>
Make_Handled_Sequence_Of_Statements
(
Loc
,
Statements
=>
New_List
(
Null_Stmt
)));
...
...
@@ -1430,24 +1430,24 @@ package body Sem_Ch6 is
return
;
else
--
Resolve
the
types
of
the
formals
now
,
because
the
freeze
point
--
may
appear
in
a
different
context
,
e
.
g
.
an
instantiation
.
--
Resolve
the
types
of
the
formals
now
,
because
the
freeze
point
may
--
appear
in
a
different
context
,
e
.
g
.
an
instantiation
.
Form
:=
First
(
Parameter_Specifications
(
Specification
(
Null_Body
)));
while
Present
(
Form
)
loop
if
Nkind
(
Parameter_Type
(
Form
))
/=
N_Access_Definition
then
Find_Type
(
Parameter_Type
(
Form
));
elsif
No
(
Access_To_Subprogram_Definition
(
Parameter_Type
(
Form
)))
elsif
No
(
Access_To_Subprogram_Definition
(
Parameter_Type
(
Form
)))
then
Find_Type
(
Subtype_Mark
(
Parameter_Type
(
Form
)));
else
--
The
case
of
a
null
procedure
with
a
formal
that
is
an
--
access_to_subprogram
type
,
and
that
is
used
as
an
actual
--
in
an
instantiation
is
left
to
the
enthusiastic
reader
.
--
The
case
of
a
null
procedure
with
a
formal
that
is
an
--
access
-
to
-
subprogram
type
,
and
that
is
used
as
an
actual
--
in
an
instantiation
is
left
to
the
enthusiastic
reader
.
else
null
;
end
if
;
...
...
@@ -1455,8 +1455,8 @@ package body Sem_Ch6 is
end
loop
;
end
if
;
--
If
there
are
previous
overloadable
entities
with
the
same
name
,
--
check
whether
any
of
them
is
completed
by
the
null
procedure
.
--
If
there
are
previous
overloadable
entities
with
the
same
name
,
check
--
whether
any
of
them
is
completed
by
the
null
procedure
.
if
Present
(
Prev
)
and
then
Is_Overloadable
(
Prev
)
then
Designator
:=
Analyze_Subprogram_Specification
(
Spec
);
...
...
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