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
a279ae93
Commit
a279ae93
authored
Oct 16, 2017
by
Jeff Law
Committed by
Jeff Law
Oct 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-dse.c (live_bytes_read): Fix thinko.
From-SVN: r253792
parent
9b460e2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/tree-ssa-dse.c
+1
-1
No files found.
gcc/ChangeLog
View file @
a279ae93
2017
-
10
-
16
Jeff
Law
<
law
@
redhat
.
com
>
*
tree
-
ssa
-
dse
.
c
(
live_bytes_read
):
Fix
thinko
.
2017
-
10
-
16
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
2017
-
10
-
16
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
x86
-
tune
-
costs
.
h
(
znver1_cost
):
Fix
move
cost
tables
.
*
x86
-
tune
-
costs
.
h
(
znver1_cost
):
Fix
move
cost
tables
.
gcc/tree-ssa-dse.c
View file @
a279ae93
...
@@ -493,7 +493,7 @@ live_bytes_read (ao_ref use_ref, ao_ref *ref, sbitmap live)
...
@@ -493,7 +493,7 @@ live_bytes_read (ao_ref use_ref, ao_ref *ref, sbitmap live)
/* Now check if any of the remaining bits in use_ref are set in LIVE. */
/* Now check if any of the remaining bits in use_ref are set in LIVE. */
unsigned
int
start
=
(
use_ref
.
offset
-
ref
->
offset
)
/
BITS_PER_UNIT
;
unsigned
int
start
=
(
use_ref
.
offset
-
ref
->
offset
)
/
BITS_PER_UNIT
;
unsigned
int
end
=
((
use_ref
.
offset
+
use_ref
.
size
)
/
BITS_PER_UNIT
)
-
1
;
unsigned
int
end
=
start
+
(
use_ref
.
size
/
BITS_PER_UNIT
)
-
1
;
return
bitmap_bit_in_range_p
(
live
,
start
,
end
);
return
bitmap_bit_in_range_p
(
live
,
start
,
end
);
}
}
return
true
;
return
true
;
...
...
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