* src/cont.c: workaround for an amd64 gcc bug.
git-svn-id: svn://svn.zoy.org/elk/trunk@256 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
7bbd3cda52
commit
29930448d4
|
@ -114,8 +114,9 @@ int Check_Stack_Grows_Down () {
|
||||||
*/
|
*/
|
||||||
unsigned int Stack_Size () {
|
unsigned int Stack_Size () {
|
||||||
char foo;
|
char foo;
|
||||||
|
char *pfoo;
|
||||||
|
|
||||||
return Stack_Grows_Down ? stkbase-&foo : &foo-stkbase;
|
return Stack_Grows_Down ? stkbase-pfoo : pfoo-stkbase;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Grow_Stack (struct S_Control *cp, Object val) {
|
void Grow_Stack (struct S_Control *cp, Object val) {
|
||||||
|
|
Loading…
Reference in New Issue