Overview
| Comment: | * win/configure: * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
6eae2935008abf68f19603d8c18747bc |
| User & Date: | mdejong on 2003-01-25 12:48:12.000 |
| Other Links: | manifest | tags |
Context
|
2003-01-25
| ||
| 14:11 | * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings): * win/tclWinChan.c (Tcl_MakeFileChann... check-in: 071e3de4fc user: mdejong tags: trunk | |
| 12:48 | * win/configure: * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca ... check-in: 6eae293500 user: mdejong tags: trunk | |
| 03:12 | * generic/tclEvent.c (Tcl_Finalize): revert finalize change on 2002-12-04 to correct the issue wit... check-in: 225ead1ac4 user: hobbs tags: trunk | |
Changes
Modified ChangeLog
from [f6445acac2]
to [f25ce3cd7d].
[diff]
Modified win/configure
from [fdf7c4d167]
to [e28cb5c2af].
[diff]
Modified win/configure.in
from [1784f57a4f]
to [eb0cbcb875].
[diff]
Modified win/tclWin32Dll.c
from [e0ba78873a]
to [037b2a075c].
[diff]