Re: [Patch] Adjustments for Windows x64 SEH

2012-06-25 Thread Kai Tietz
2012/6/25 Tristan Gingold : > > On Jun 18, 2012, at 4:28 PM, Kai Tietz wrote: > >> Hello Tristan, >> >> patch works for me, too. Just one nit about the patch. >> >> 2012/6/18 Tristan Gingold : >>> @@ -8558,6 +8558,11 @@ ix86_frame_pointer_required (void) >>>   if (TARGET_32BIT_MS_ABI && cfun->calls

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-25 Thread Tristan Gingold
On Jun 18, 2012, at 4:28 PM, Kai Tietz wrote: > Hello Tristan, > > patch works for me, too. Just one nit about the patch. > > 2012/6/18 Tristan Gingold : >> @@ -8558,6 +8558,11 @@ ix86_frame_pointer_required (void) >> if (TARGET_32BIT_MS_ABI && cfun->calls_setjmp) >> return true; >> >> +

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-20 Thread Tristan Gingold
On Jun 19, 2012, at 6:47 PM, Richard Henderson wrote: > On 2012-06-18 05:22, Tristan Gingold wrote: >> +/* Output assembly code to get the establisher frame (Windows x64 only). >> + This corresponds to what will be computed by Windows from Frame Register >> + and Frame Register Offset fields

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-20 Thread Tristan Gingold
On Jun 19, 2012, at 6:47 PM, Richard Henderson wrote: > On 2012-06-18 05:22, Tristan Gingold wrote: >> + /* Win64 SEH, very large frames need a frame-pointer as maximum stack >> + allocation is 4GB (add a safety guard for saved registers). */ >> + if (TARGET_64BIT_MS_ABI && get_frame_size

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-19 Thread Richard Henderson
On 2012-06-18 05:22, Tristan Gingold wrote: > + /* Win64 SEH, very large frames need a frame-pointer as maximum stack > + allocation is 4GB (add a safety guard for saved registers). */ > + if (TARGET_64BIT_MS_ABI && get_frame_size () + 4096 > SEH_MAX_FRAME_SIZE) > +return true; Elsewher

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-19 Thread Tristan Gingold
On Jun 18, 2012, at 4:28 PM, Kai Tietz wrote: > Hello Tristan, > > patch works for me, too. Just one nit about the patch. > > 2012/6/18 Tristan Gingold : >> @@ -8558,6 +8558,11 @@ ix86_frame_pointer_required (void) >> if (TARGET_32BIT_MS_ABI && cfun->calls_setjmp) >> return true; >> >> +

Re: [Patch] Adjustments for Windows x64 SEH

2012-06-18 Thread Kai Tietz
Hello Tristan, patch works for me, too. Just one nit about the patch. 2012/6/18 Tristan Gingold : > @@ -8558,6 +8558,11 @@ ix86_frame_pointer_required (void) >   if (TARGET_32BIT_MS_ABI && cfun->calls_setjmp) >     return true; > > +  /* Win64 SEH, very large frames need a frame-pointer as maximu