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
b9a73e32
Commit
b9a73e32
authored
Feb 17, 2000
by
Jason Merrill
Committed by
Jason Merrill
Feb 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bitmap.c (bitmap_operation): Don't leak bitmap elements.
From-SVN: r32038
parent
9185a8d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+4
-0
gcc/bitmap.c
+6
-1
No files found.
gcc/ChangeLog
View file @
b9a73e32
2000
-
02
-
17
Jason
Merrill
<
jason
@casey
.
cygnus
.
com
>
*
bitmap
.
c
(
bitmap_operation
)
:
Don
'
t
leak
bitmap
elements
.
2000
-
02
-
17
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
function
.
c
(
thread_prologue_and_epilogue_insns
)
:
Put
a
line
note
...
...
gcc/bitmap.c
View file @
b9a73e32
...
...
@@ -477,7 +477,7 @@ bitmap_operation (to, from1, from2, operation)
changed
=
1
;
to_tmp
=
to_ptr
;
to_ptr
=
to_ptr
->
next
;
to_tmp
=
bitmap_free
;
to_tmp
->
next
=
bitmap_free
;
bitmap_free
=
to_tmp
;
}
if
(
to_ptr
&&
to_ptr
->
indx
==
indx
)
...
...
@@ -517,6 +517,11 @@ bitmap_operation (to, from1, from2, operation)
to_tmp
->
indx
=
indx
;
bitmap_element_link
(
to
,
to_tmp
);
}
else
{
to_tmp
->
next
=
bitmap_free
;
bitmap_free
=
to_tmp
;
}
}
/* If we have elements of TO left over, free the lot. */
...
...
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