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
1a96dc46
Commit
1a96dc46
authored
Apr 21, 2003
by
Richard Kenner
Committed by
Richard Kenner
Apr 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
From-SVN: r65899
parent
c3cdeef4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+2
-0
gcc/stor-layout.c
+1
-1
No files found.
gcc/ChangeLog
View file @
1a96dc46
...
@@ -56,6 +56,8 @@
...
@@ -56,6 +56,8 @@
2003-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2003-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
* expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
* expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
before clearing.
before clearing.
...
...
gcc/stor-layout.c
View file @
1a96dc46
...
@@ -419,7 +419,7 @@ layout_decl (decl, known_align)
...
@@ -419,7 +419,7 @@ layout_decl (decl, known_align)
DECL_SIZE
(
decl
)
=
TYPE_SIZE
(
type
);
DECL_SIZE
(
decl
)
=
TYPE_SIZE
(
type
);
DECL_SIZE_UNIT
(
decl
)
=
TYPE_SIZE_UNIT
(
type
);
DECL_SIZE_UNIT
(
decl
)
=
TYPE_SIZE_UNIT
(
type
);
}
}
else
else
if
(
DECL_SIZE_UNIT
(
decl
)
==
0
)
DECL_SIZE_UNIT
(
decl
)
DECL_SIZE_UNIT
(
decl
)
=
convert
(
sizetype
,
size_binop
(
CEIL_DIV_EXPR
,
DECL_SIZE
(
decl
),
=
convert
(
sizetype
,
size_binop
(
CEIL_DIV_EXPR
,
DECL_SIZE
(
decl
),
bitsize_unit_node
));
bitsize_unit_node
));
...
...
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