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
74637033
Commit
74637033
authored
Mar 14, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_plus_minus): Reject "simplifications" that are too complex
in form. From-SVN: r3733
parent
5931019b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
gcc/cse.c
+11
-1
No files found.
gcc/cse.c
View file @
74637033
...
...
@@ -4015,7 +4015,17 @@ simplify_plus_minus (code, mode, op0, op1)
ncode
=
MINUS
;
tem
=
simplify_binary_operation
(
ncode
,
mode
,
lhs
,
rhs
);
if
(
tem
)
/* If we got a simple object, a SUBREG of a simple
object, or a NEG, use it. Otherwise, we either got nothing
or we got something (like a NOT), which can cause an
infinite loop. */
if
(
tem
!=
0
&&
((
GET_CODE
(
tem
)
==
SUBREG
&&
GET_RTX_CLASS
(
GET_CODE
(
SUBREG_REG
(
tem
)))
==
'o'
)
||
GET_CODE
(
tem
)
==
NEG
||
GET_RTX_CLASS
(
GET_CODE
(
tem
))
==
'o'
))
{
ops
[
i
]
=
tem
,
ops
[
j
]
=
0
;
negs
[
i
]
=
negs
[
i
]
&&
negs
[
j
];
...
...
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