From: Ian Lance Taylor Date: Tue, 28 Feb 2012 17:43:43 +0000 (+0000) Subject: generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_releas... X-Git-Tag: releases/gcc-4.7.0~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9e053ebfdc29e3d51d3e3dbe19e8c91c1f96e23;p=thirdparty%2Fgcc.git generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_release_segments. * generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_release_segments. From-SVN: r184634 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 036d46a82b76..8324c7436872 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2012-02-28 Ian Lance Taylor + + * generic-morestack.c (__splitstack_releasecontext): Correct call + to __morestack_release_segments. + 2012-02-27 Samuel Thibault PR target/52390 @@ -38,7 +43,7 @@ PR libitm/52220 * config/darwin-crt-tm.c: Correct typo. - + 2012-02-15 Iain Sandoe Patrick Marlier @@ -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 Anatoly Sokolov diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c index 6182a3795583..fad3d9b02a3e 100644 --- a/libgcc/generic-morestack.c +++ b/libgcc/generic-morestack.c @@ -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