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
6357e162
Commit
6357e162
authored
May 20, 2008
by
Arnaud Charlet
Committed by
Arnaud Charlet
May 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
Update comments. From-SVN: r135653
parent
1b686dc4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
gcc/ada/ChangeLog
+3
-0
gcc/ada/exp_ch9.ads
+9
-11
gcc/ada/inline.adb
+1
-1
gcc/ada/sem_ch8.ads
+2
-2
No files found.
gcc/ada/ChangeLog
View file @
6357e162
...
...
@@ -7,6 +7,9 @@
*
a
-
caldel
-
vms
.
adb
:
Resync
with
a
-
caldel
spec
.
*
exp_ch9
.
ads
,
sem_ch8
.
ads
,
inline
.
adb
:
Minor
reformatting
.
Update
comments
.
2008
-
05
-
17
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
trans
.
c
(
gnat_to_gnu
)
<
N_Validate_Unchecked_Conversion
>:
Account
gcc/ada/exp_ch9.ads
View file @
6357e162
...
...
@@ -158,17 +158,15 @@ package Exp_Ch9 is
function
Convert_Concurrent
(
N
:
Node_Id
;
Typ
:
Entity_Id
)
return
Node_Id
;
--
N
is
an
expression
of
type
Typ
.
If
the
type
is
not
a
concurrent
--
type
then
it
is
returned
unchanged
.
If
it
is
a
task
or
protected
--
reference
,
Convert_Concurrent
creates
an
unchecked
conversion
node
--
from
this
expression
to
the
corresponding
concurrent
record
type
--
value
.
We
need
this
in
any
situation
where
the
concurrent
type
is
--
used
,
because
the
actual
concurrent
object
is
an
object
of
the
--
corresponding
concurrent
type
,
and
manipulations
on
the
concurrent
--
object
actually
manipulate
the
corresponding
object
of
the
record
--
type
.
Typ
:
Entity_Id
)
return
Node_Id
;
--
N
is
an
expression
of
type
Typ
.
If
the
type
is
not
a
concurrent
type
--
then
it
is
returned
unchanged
.
If
it
is
a
task
or
protected
reference
,
--
Convert_Concurrent
creates
an
unchecked
conversion
node
from
this
--
expression
to
the
corresponding
concurrent
record
type
value
.
We
need
--
this
in
any
situation
where
the
concurrent
type
is
used
,
because
the
--
actual
concurrent
object
is
an
object
of
the
corresponding
concurrent
--
type
,
and
manipulations
on
the
concurrent
object
actually
manipulate
the
--
corresponding
object
of
the
record
type
.
function
Entry_Index_Expression
(
Sloc
:
Source_Ptr
;
...
...
gcc/ada/inline.adb
View file @
6357e162
...
...
@@ -6,7 +6,7 @@
--
--
--
B
o
d
y
--
--
--
--
Copyright
(
C
)
1992
-
200
7
,
Free
Software
Foundation
,
Inc
.
--
--
Copyright
(
C
)
1992
-
200
8
,
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
-
--
...
...
gcc/ada/sem_ch8.ads
View file @
6357e162
...
...
@@ -77,8 +77,8 @@ package Sem_Ch8 is
procedure
Find_Direct_Name
(
N
:
Node_Id
);
--
Given
a
direct
name
(
Identifier
or
Operator_Symbol
),
this
routine
scans
--
the
homonym
chain
for
the
name
searching
for
corresponding
visible
--
entities
to
find
the
referenced
entity
(
or
in
the
case
of
overloading
)
,
--
entities
.
On
return
,
the
Entity
and
Etype
fields
are
set
.
In
the
--
entities
to
find
the
referenced
entity
(
or
in
the
case
of
overloading
,
--
entities
)
.
On
return
,
the
Entity
and
Etype
fields
are
set
.
In
the
--
non
-
overloaded
case
,
these
are
the
correct
final
entries
.
In
the
--
overloaded
case
,
Is_Overloaded
is
set
,
Etype
and
Entity
refer
to
an
--
arbitrary
element
of
the
overloads
set
,
and
an
appropriate
list
of
...
...
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