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
515dfc7a
Commit
515dfc7a
authored
30 years ago
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_divmod): Clear out TARGET also if OP1 is a constant,
when TARGET == OP0. From-SVN: r7661
parent
9a0e77ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/expmed.c
+1
-1
No files found.
gcc/expmed.c
View file @
515dfc7a
...
...
@@ -2605,7 +2605,7 @@ expand_divmod (rem_flag, code, mode, op0, op1, target, unsignedp)
and function-inlining gets confused by this. */
&&
((
REG_P
(
target
)
&&
REG_FUNCTION_VALUE_P
(
target
))
/* Don't clobber an operand while doing a multi-step calculation. */
||
(
rem_flag
||
(
(
rem_flag
||
op1_is_constant
)
&&
(
reg_mentioned_p
(
target
,
op0
)
||
(
GET_CODE
(
op0
)
==
MEM
&&
GET_CODE
(
target
)
==
MEM
)))
||
reg_mentioned_p
(
target
,
op1
)
...
...
This diff is collapsed.
Click to expand it.
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