Re: gcc-4.5.3 segfaults wrt alloca

2011-12-11 Thread Denis Excoffier
On Sat, Dec 10, 2011 at 02:42:39PM +, Dave Korn wrote: 5. Setting the program's initial stack size larger by adding e.g. -Wl,-stack,400 to the compiler commandline ensures that the initial stack pointer is located somewhere that at least that much memory is available, and makes the

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-10 Thread Dave Korn
On 09/12/2011 20:36, Corinna Vinschen wrote: On Dec 9 12:41, Ryan Johnson wrote: On 09/12/2011 12:07 PM, Eric Blake wrote: On 12/09/2011 07:55 AM, Ryan Johnson wrote: On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below

gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Denis Excoffier
I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following program, with static allocation of a reasonable amount of data, segfaults, maybe in alloca(). With a smaller size (eg 1) it's ok. With

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Christopher Faylor
On Fri, Dec 09, 2011 at 11:57:37AM +0059, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following program, with static allocation of a reasonable amount of data, segfaults,

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Ryan Johnson
On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following program, with static allocation of a reasonable amount of data, segfaults, maybe in

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Denis Excoffier
On Fri, Dec 09, 2011 at 09:55:18AM -0500, Ryan Johnson wrote: On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following program, with static

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Eric Blake
On 12/09/2011 07:55 AM, Ryan Johnson wrote: On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following program, with static allocation of a

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Ryan Johnson
On 09/12/2011 12:07 PM, Eric Blake wrote: On 12/09/2011 07:55 AM, Ryan Johnson wrote: On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around beginning of December. The following

Re: gcc-4.5.3 segfaults wrt alloca

2011-12-09 Thread Corinna Vinschen
On Dec 9 12:41, Ryan Johnson wrote: On 09/12/2011 12:07 PM, Eric Blake wrote: On 12/09/2011 07:55 AM, Ryan Johnson wrote: On 09/12/2011 5:58 AM, Denis Excoffier wrote: I use the latest packages and cygwin snapshots. The problem described below began several snapshots in the past, around