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
f54ff900
Commit
f54ff900
authored
Dec 18, 2004
by
Richard Henderson
Committed by
Richard Henderson
Dec 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.
From-SVN: r92362
parent
6b9b7b4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/stor-layout.c
+2
-2
No files found.
gcc/ChangeLog
View file @
f54ff900
2004
-
12
-
18
Richard
Henderson
<
rth
@
redhat
.
com
>
*
stor
-
layout
.
c
(
layout_decl
):
Use
unshare_expr
,
not
unsave_expr
.
2004
-
12
-
18
Zdenek
Dvorak
<
dvorakz
@
suse
.
cz
>
PR
rtl
-
optimization
/
19001
...
...
gcc/stor-layout.c
View file @
f54ff900
...
...
@@ -325,8 +325,8 @@ layout_decl (tree decl, unsigned int known_align)
if
(
DECL_SIZE
(
decl
)
==
0
)
{
DECL_SIZE
(
decl
)
=
uns
av
e_expr
(
TYPE_SIZE
(
type
));
DECL_SIZE_UNIT
(
decl
)
=
uns
av
e_expr
(
TYPE_SIZE_UNIT
(
type
));
DECL_SIZE
(
decl
)
=
uns
har
e_expr
(
TYPE_SIZE
(
type
));
DECL_SIZE_UNIT
(
decl
)
=
uns
har
e_expr
(
TYPE_SIZE_UNIT
(
type
));
}
else
if
(
DECL_SIZE_UNIT
(
decl
)
==
0
)
DECL_SIZE_UNIT
(
decl
)
...
...
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