X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=boehm-gc%2Fmalloc.c;h=a5a93ad81192e823f7e376608ed7f5b5051f5e5b;hb=a3e9d271353f431ddf2ff7c1cc0fbc9d59cd1951;hp=66e62d29694ff31f9625d546dc2b142016967001;hpb=f13bf5f6901b9992d51e08626a54684e3f87b065;p=pf3gnuchains%2Fgcc-fork.git diff --git a/boehm-gc/malloc.c b/boehm-gc/malloc.c index 66e62d29694..a5a93ad8119 100644 --- 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.*/ + /* 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 {