OSDN Git Service

* pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
[pf3gnuchains/gcc-fork.git] / boehm-gc / tests / trace_test.c
index be9cb6c..870e387 100644 (file)
@@ -10,6 +10,7 @@ struct treenode {
 struct treenode * mktree(int i) {
   struct treenode * r = GC_MALLOC(sizeof(struct treenode));
   if (0 == i) return 0;
+  if (1 == i) r = GC_MALLOC_ATOMIC(sizeof(struct treenode));
   r -> x = mktree(i-1);
   r -> y = mktree(i-1);
   return r;