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
c03b7665
Commit
c03b7665
authored
Apr 03, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(store_expr): Call size_binop instead of doing the same thing with
fold and build. From-SVN: r3993
parent
20fdd649
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/expr.c
+6
-6
No files found.
gcc/expr.c
View file @
c03b7665
...
...
@@ -2399,12 +2399,12 @@ store_expr (exp, target, suggest_reg)
{
/* Compute the size of the data to copy from the string. */
tree
copy_size
=
fold
(
build
(
MIN_EXPR
,
sizetype
,
size_binop
(
CEIL_DIV_EXPR
,
TYPE_SIZE
(
TREE_TYPE
(
exp
)),
size_int
(
BITS_PER_UNIT
)),
convert
(
sizetype
,
build_int_2
(
TREE_STRING_LENGTH
(
exp
),
0
)
)));
=
size_binop
(
MIN_EXPR
,
size_binop
(
CEIL_DIV_EXPR
,
TYPE_SIZE
(
TREE_TYPE
(
exp
)),
size_int
(
BITS_PER_UNIT
)),
convert
(
sizetype
,
build_int_2
(
TREE_STRING_LENGTH
(
exp
),
0
)));
rtx
copy_size_rtx
=
expand_expr
(
copy_size
,
NULL_RTX
,
VOIDmode
,
0
);
rtx
label
=
0
;
...
...
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