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
b5a09c41
Commit
b5a09c41
authored
Jun 17, 1994
by
Richard Earnshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_binary_operation, case MINUS): Check mode of op0,
instead of op1, before calling plus_constant. From-SVN: r7510
parent
2e7e7121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/cse.c
+1
-1
No files found.
gcc/cse.c
View file @
b5a09c41
...
...
@@ -3714,7 +3714,7 @@ simplify_binary_operation (code, mode, op0, op1)
return
tem
;
/* Don't let a relocatable value get a negative coeff. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
GET_MODE
(
op
1
)
!=
VOIDmode
)
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
GET_MODE
(
op
0
)
!=
VOIDmode
)
return
plus_constant
(
op0
,
-
INTVAL
(
op1
));
break
;
...
...
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