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
2e151b6d
Commit
2e151b6d
authored
Oct 13, 2013
by
Eric Botcazou
Committed by
Eric Botcazou
Oct 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/decl.c (gnat_to_gnu_param): Remove obsolete comment.
From-SVN: r203499
parent
3246afaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/ada/ChangeLog
+4
-0
gcc/ada/gcc-interface/decl.c
+2
-6
No files found.
gcc/ada/ChangeLog
View file @
2e151b6d
2013-10-13 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_param): Remove obsolete comment.
2013-10-11 Jakub Jelinek <jakub@redhat.com>
* gcc-interface/utils.c (DEF_FUNCTION_TYPE_8): Define.
...
...
gcc/ada/gcc-interface/decl.c
View file @
2e151b6d
...
...
@@ -5824,12 +5824,8 @@ gnat_to_gnu_param (Entity_Id gnat_param, Mechanism_Type mech,
ro_param
||
by_ref
||
by_component_ptr
);
DECL_BY_REF_P
(
gnu_param
)
=
by_ref
;
DECL_BY_COMPONENT_PTR_P
(
gnu_param
)
=
by_component_ptr
;
DECL_BY_DESCRIPTOR_P
(
gnu_param
)
=
(
mech
==
By_Descriptor
||
mech
==
By_Short_Descriptor
);
/* Note that, in case of a parameter passed by double reference, the
DECL_POINTS_TO_READONLY_P flag is meant for the second reference.
The first reference always points to read-only, as it points to
the second reference, i.e. the reference to the actual parameter. */
DECL_BY_DESCRIPTOR_P
(
gnu_param
)
=
(
mech
==
By_Descriptor
||
mech
==
By_Short_Descriptor
);
DECL_POINTS_TO_READONLY_P
(
gnu_param
)
=
(
ro_param
&&
(
by_ref
||
by_component_ptr
));
DECL_CAN_NEVER_BE_NULL_P
(
gnu_param
)
=
Can_Never_Be_Null
(
gnat_param
);
...
...
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