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
aa35e3ba
Commit
aa35e3ba
authored
Dec 07, 2016
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust comment
From-SVN: r243338
parent
2c1f5c0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/ada/gcc-interface/utils.c
+4
-4
No files found.
gcc/ada/gcc-interface/utils.c
View file @
aa35e3ba
...
...
@@ -1662,12 +1662,12 @@ finish_character_type (tree char_type)
SET_TYPE_DEBUG_TYPE
(
char_type
,
unsigned_char_type
);
/* If this is a subtype, make the debug type a subtype of the debug type
of the base type and convert literal bounds to unsigned. */
of the base type and convert literal
RM
bounds to unsigned. */
if
(
TREE_TYPE
(
char_type
))
{
tree
base_unsigned_char_type
=
TYPE_DEBUG_TYPE
(
TREE_TYPE
(
char_type
));
tree
min_value
=
TYPE_MIN_VALUE
(
char_type
);
tree
max_value
=
TYPE_MAX_VALUE
(
char_type
);
tree
min_value
=
TYPE_
RM_
MIN_VALUE
(
char_type
);
tree
max_value
=
TYPE_
RM_
MAX_VALUE
(
char_type
);
if
(
TREE_CODE
(
min_value
)
==
INTEGER_CST
)
min_value
=
fold_convert
(
base_unsigned_char_type
,
min_value
);
...
...
@@ -1679,7 +1679,7 @@ finish_character_type (tree char_type)
SET_TYPE_RM_MAX_VALUE
(
unsigned_char_type
,
max_value
);
}
/* Adjust the bounds of the original type to unsigned; that's especially
/* Adjust the
RM
bounds of the original type to unsigned; that's especially
important for types since they are implicit in this case. */
SET_TYPE_RM_MIN_VALUE
(
char_type
,
TYPE_MIN_VALUE
(
unsigned_char_type
));
SET_TYPE_RM_MAX_VALUE
(
char_type
,
TYPE_MAX_VALUE
(
unsigned_char_type
));
...
...
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