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
afb0c9cd
Commit
afb0c9cd
authored
Sep 19, 2012
by
Bin Cheng
Committed by
Bin Cheng
Sep 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (fold_truth_andor) Remove duplicated check on
BRANCH_COST. From-SVN: r191457
parent
7a99a251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ChangeLog
+5
-0
gcc/fold-const.c
+1
-3
No files found.
gcc/ChangeLog
View file @
afb0c9cd
2012-09-19 Bin Cheng <bin.cheng@arm.com>
* fold-const.c (fold_truth_andor) Remove duplicated check on
BRANCH_COST.
2012-09-18 Eric Botcazou <ebotcazou@adacore.com>
PR middle-end/54617
...
...
gcc/fold-const.c
View file @
afb0c9cd
...
...
@@ -8435,9 +8435,7 @@ fold_truth_andor (location_t loc, enum tree_code code, tree type,
if
((
tem
=
fold_truth_andor_1
(
loc
,
code
,
type
,
arg0
,
arg1
))
!=
0
)
return
tem
;
if
((
BRANCH_COST
(
optimize_function_for_speed_p
(
cfun
),
false
)
>=
2
)
&&
LOGICAL_OP_NON_SHORT_CIRCUIT
if
(
LOGICAL_OP_NON_SHORT_CIRCUIT
&&
(
code
==
TRUTH_AND_EXPR
||
code
==
TRUTH_ANDIF_EXPR
||
code
==
TRUTH_OR_EXPR
...
...
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