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
9e5d3a2c
Commit
9e5d3a2c
authored
Nov 28, 2014
by
Mike Stump
Committed by
Kaz Kojima
Nov 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bitmap.c (bitmap_ior, bitmap_ior_and_compl): Zap current as it could be deleted.
From-SVN: r218173
parent
eef7b18c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+5
-0
gcc/bitmap.c
+4
-0
No files found.
gcc/ChangeLog
View file @
9e5d3a2c
2014
-
11
-
28
Mike
Stump
<
mikestump
@
comcast
.
net
>
*
bitmap
.
c
(
bitmap_ior
):
Zap
current
as
it
could
be
deleted
.
(
bitmap_ior_and_compl
):
Likewise
.
2014
-
11
-
28
Vladimir
Makarov
<
vmakarov
@
redhat
.
com
>
PR
target
/
64061
gcc/bitmap.c
View file @
9e5d3a2c
...
...
@@ -1595,6 +1595,8 @@ bitmap_ior (bitmap dst, const_bitmap a, const_bitmap b)
if
(
dst_elt
)
{
changed
=
true
;
/* Ensure that dst->current is valid. */
dst
->
current
=
dst
->
first
;
bitmap_elt_clear_from
(
dst
,
dst_elt
);
}
gcc_checking_assert
(
!
dst
->
current
==
!
dst
->
first
);
...
...
@@ -1951,6 +1953,8 @@ bitmap_ior_and_compl (bitmap dst, const_bitmap a, const_bitmap b, const_bitmap k
if
(
dst_elt
)
{
changed
=
true
;
/* Ensure that dst->current is valid. */
dst
->
current
=
dst
->
first
;
bitmap_elt_clear_from
(
dst
,
dst_elt
);
}
gcc_checking_assert
(
!
dst
->
current
==
!
dst
->
first
);
...
...
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