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
e6e15ec9
Commit
e6e15ec9
authored
Apr 24, 2009
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nits
From-SVN: r146676
parent
caa9d12a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gcc/ada/gcc-interface/decl.c
+2
-2
gcc/ada/gcc-interface/utils2.c
+1
-0
No files found.
gcc/ada/gcc-interface/decl.c
View file @
e6e15ec9
...
@@ -7393,7 +7393,7 @@ set_rm_size (Uint uint_size, tree gnu_type, Entity_Id gnat_entity)
...
@@ -7393,7 +7393,7 @@ set_rm_size (Uint uint_size, tree gnu_type, Entity_Id gnat_entity)
return
;
return
;
}
}
/* Otherwise, set the RM size proper for
numeric
al types... */
/* Otherwise, set the RM size proper for
integr
al types... */
if
((
TREE_CODE
(
gnu_type
)
==
INTEGER_TYPE
if
((
TREE_CODE
(
gnu_type
)
==
INTEGER_TYPE
&&
Is_Discrete_Or_Fixed_Point_Type
(
gnat_entity
))
&&
Is_Discrete_Or_Fixed_Point_Type
(
gnat_entity
))
||
(
TREE_CODE
(
gnu_type
)
==
ENUMERAL_TYPE
||
(
TREE_CODE
(
gnu_type
)
==
ENUMERAL_TYPE
...
@@ -7853,7 +7853,7 @@ substitute_in_type (tree t, tree f, tree r)
...
@@ -7853,7 +7853,7 @@ substitute_in_type (tree t, tree f, tree r)
tree
tree
rm_size
(
tree
gnu_type
)
rm_size
(
tree
gnu_type
)
{
{
/* For integ
er types, this is the precision
. */
/* For integ
ral types, we store the RM size explicitly
. */
if
(
INTEGRAL_TYPE_P
(
gnu_type
)
&&
TYPE_RM_SIZE
(
gnu_type
))
if
(
INTEGRAL_TYPE_P
(
gnu_type
)
&&
TYPE_RM_SIZE
(
gnu_type
))
return
TYPE_RM_SIZE
(
gnu_type
);
return
TYPE_RM_SIZE
(
gnu_type
);
...
...
gcc/ada/gcc-interface/utils2.c
View file @
e6e15ec9
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include "ggc.h"
#include "ggc.h"
#include "flags.h"
#include "flags.h"
#include "output.h"
#include "output.h"
#include "ada.h"
#include "ada.h"
#include "types.h"
#include "types.h"
#include "atree.h"
#include "atree.h"
...
...
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