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
462f3262
Commit
462f3262
authored
Apr 04, 2009
by
Jason Merrill
Committed by
Jason Merrill
Apr 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stor-layout.c (set_sizetype): Set TYPE_CANONICAL.
From-SVN: r145531
parent
6a067dfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gcc/ChangeLog
+4
-0
gcc/stor-layout.c
+2
-0
No files found.
gcc/ChangeLog
View file @
462f3262
2009-04-03 Jason Merrill <jason@redhat.com>
* stor-layout.c (set_sizetype): Set TYPE_CANONICAL.
2009-04-03 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.md (extendsfdf2, extendsfxf2, extenddfxf2,
...
...
gcc/stor-layout.c
View file @
462f3262
...
...
@@ -2070,6 +2070,7 @@ set_sizetype (tree type)
/* Replace our original stub sizetype. */
memcpy
(
sizetype
,
t
,
tree_size
(
sizetype
));
TYPE_MAIN_VARIANT
(
sizetype
)
=
sizetype
;
TYPE_CANONICAL
(
sizetype
)
=
sizetype
;
t
=
make_node
(
INTEGER_TYPE
);
TYPE_NAME
(
t
)
=
get_identifier
(
"bit_size_type"
);
...
...
@@ -2084,6 +2085,7 @@ set_sizetype (tree type)
/* Replace our original stub bitsizetype. */
memcpy
(
bitsizetype
,
t
,
tree_size
(
bitsizetype
));
TYPE_MAIN_VARIANT
(
bitsizetype
)
=
bitsizetype
;
TYPE_CANONICAL
(
bitsizetype
)
=
bitsizetype
;
if
(
TYPE_UNSIGNED
(
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