OSDN Git Service

* generic-morestack.c (__splitstack_releasecontext): Correct call
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Feb 2012 17:43:43 +0000 (17:43 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Feb 2012 17:43:43 +0000 (17:43 +0000)
to __morestack_release_segments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184634 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/generic-morestack.c

index 036d46a..8324c74 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-28  Ian Lance Taylor  <iant@google.com>
+
+       * generic-morestack.c (__splitstack_releasecontext): Correct call
+       to __morestack_release_segments.
+
 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        PR target/52390
@@ -38,7 +43,7 @@
 
        PR libitm/52220
        * config/darwin-crt-tm.c: Correct typo.
-       
+
 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
            Patrick Marlier  <patrick.marlier@gmail.com>
 
@@ -51,7 +56,7 @@
        PR libitm/52042
        * config/darwin-crt-tm.c (getTMCloneTable): New function.
        (__doTMRegistrations): Call it.
-       (__doTMdeRegistrations): Likewise. 
+       (__doTMdeRegistrations): Likewise.
 
 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
            Anatoly Sokolov <aesok@post.ru>
index 6182a37..fad3d9b 100644 (file)
@@ -1104,7 +1104,9 @@ __splitstack_resetcontext (void *context[10], size_t *size)
 void
 __splitstack_releasecontext (void *context[10])
 {
-  __morestack_release_segments (context[MORESTACK_SEGMENTS], 1);
+  __morestack_release_segments (((struct stack_segment **)
+                                &context[MORESTACK_SEGMENTS]),
+                               1);
 }
 
 /* Like __splitstack_block_signals, but operating on CONTEXT, rather