OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported version version 5.0alpha6.
[pf3gnuchains/gcc-fork.git]
/
boehm-gc
/
malloc.c
diff --git
a/boehm-gc/malloc.c
b/boehm-gc/malloc.c
index
66e62d2
..
a5a93ad
100644
(file)
--- a/
boehm-gc/malloc.c
+++ b/
boehm-gc/malloc.c
@@
-81,6
+81,10
@@
register ptr_t *opp;
/* but that's benign. */
/* Volatile declarations may need to be added */
/* to prevent the compiler from breaking things.*/
/* but that's benign. */
/* Volatile declarations may need to be added */
/* to prevent the compiler from breaking things.*/
+ /* If we only execute the second of the */
+ /* following assignments, we lose the free */
+ /* list, but that should still be OK, at least */
+ /* for garbage collected memory. */
*opp = obj_link(op);
obj_link(op) = 0;
} else {
*opp = obj_link(op);
obj_link(op) = 0;
} else {