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
cdbf04c0
Commit
cdbf04c0
authored
May 29, 2008
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sem_res.adb: Minor reformatting
From-SVN: r136141
parent
a168f519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gcc/ada/sem_res.adb
+4
-5
No files found.
gcc/ada/sem_res.adb
View file @
cdbf04c0
...
...
@@ -9434,7 +9434,7 @@ package body Sem_Res is
end
if
;
end
;
--
a
ccess
to
subprogram
types
.
If
the
operand
is
an
access
parameter
,
--
A
ccess
to
subprogram
types
.
If
the
operand
is
an
access
parameter
,
--
the
type
has
a
deeper
accessibility
that
any
master
,
and
cannot
--
be
assigned
.
...
...
@@ -9443,10 +9443,9 @@ package body Sem_Res is
Ekind
(
Target_Type
)
=
E_Anonymous_Access_Subprogram_Type
)
and
then
No
(
Corresponding_Remote_Type
(
Opnd_Type
))
then
if
Ekind
(
Base_Type
(
Opnd_Type
))
=
E_Anonymous_Access_Subprogram_Type
and
then
Is_Entity_Name
(
Operand
)
and
then
Ekind
(
Entity
(
Operand
))
=
E_In_Parameter
if
Ekind
(
Base_Type
(
Opnd_Type
))
=
E_Anonymous_Access_Subprogram_Type
and
then
Is_Entity_Name
(
Operand
)
and
then
Ekind
(
Entity
(
Operand
))
=
E_In_Parameter
then
Error_Msg_N
(
"illegal attempt to store anonymous access to subprogram"
,
...
...
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