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
b87ac615
Commit
b87ac615
authored
Jul 31, 2011
by
Richard Henderson
Committed by
Richard Henderson
Jul 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle SIZE_TYPE being unsigned short.
From-SVN: r176995
parent
77b06940
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+5
-0
gcc/stor-layout.c
+2
-0
gcc/tree.c
+2
-0
No files found.
gcc/ChangeLog
View file @
b87ac615
2011-07-31 Richard Henderson <rth@redhat.com>
* stor-layout.c (initialize_sizetypes): Handle unsigned short.
* tree.c (build_common_tree_nodes): Likewise.
2011-07-31 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/49880
...
...
gcc/stor-layout.c
View file @
b87ac615
...
...
@@ -2203,6 +2203,8 @@ initialize_sizetypes (void)
precision
=
LONG_TYPE_SIZE
;
else
if
(
strcmp
(
SIZE_TYPE
,
"long long unsigned int"
)
==
0
)
precision
=
LONG_LONG_TYPE_SIZE
;
else
if
(
strcmp
(
SIZE_TYPE
,
"short unsigned int"
)
==
0
)
precision
=
SHORT_TYPE_SIZE
;
else
gcc_unreachable
();
...
...
gcc/tree.c
View file @
b87ac615
...
...
@@ -9228,6 +9228,8 @@ build_common_tree_nodes (bool signed_char, bool short_double)
size_type_node
=
long_unsigned_type_node
;
else
if
(
strcmp
(
SIZE_TYPE
,
"long long unsigned int"
)
==
0
)
size_type_node
=
long_long_unsigned_type_node
;
else
if
(
strcmp
(
SIZE_TYPE
,
"short unsigned int"
)
==
0
)
size_type_node
=
short_unsigned_type_node
;
else
gcc_unreachable
();
...
...
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