Re: [fpc-devel] SEH-based exceptions enabled on win32

2020-01-09 Thread Florian Klämpfl
Am 10. Januar 2020 07:49:32 schrieb Sven Barth via fpc-devel : > J. Gareth Moreton schrieb am Fr., 10. Jan. > 2020, 01:20: > >> Has code generation changed as a result? I recall i386 making heavy use >> of push and pop within routines rather than pre-reserving the stack in >> the prologue - this

Re: [fpc-devel] SEH-based exceptions enabled on win32

2020-01-09 Thread Sven Barth via fpc-devel
J. Gareth Moreton schrieb am Fr., 10. Jan. 2020, 01:20: > Has code generation changed as a result? I recall i386 making heavy use > of push and pop within routines rather than pre-reserving the stack in > the prologue - this is a big no-no for SEH if I recall. > That might be due to the stack al

Re: [fpc-devel] SEH-based exceptions enabled on win32

2020-01-09 Thread J. Gareth Moreton
Has code generation changed as a result? I recall i386 making heavy use of push and pop within routines rather than pre-reserving the stack in the prologue - this is a big no-no for SEH if I recall. Gareth aka. Kit On 09/01/2020 22:22, Joost van der Sluis wrote: Hi all, SEH-based exceptions

[fpc-devel] SEH-based exceptions enabled on win32

2020-01-09 Thread Joost van der Sluis
Hi all, SEH-based exceptions are made the default on the win32 target in fpc-trunk. For win64 they already where the default. To build a compiler without SEH-based exceptions, the dDISABLE_WIN32_SEH option should be given. ie: make all OPT='dDISABLE_WIN32_SEH' Please report any regressions