Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-25 Thread Kai Tietz
2012/6/25 Richard Guenther : > On Mon, 25 Jun 2012, Tristan Gingold wrote: > >> >> On Jun 22, 2012, at 5:04 PM, Richard Henderson wrote: >> >> > On 06/21/2012 12:48 AM, Tristan Gingold wrote: >> >> 2012-06-18  Tristan Gingold   >> >> >> >>    * config/i386/winnt.c (i386_pe_seh_end_prologue): Move c

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-25 Thread Richard Guenther
On Mon, 25 Jun 2012, Tristan Gingold wrote: > > On Jun 22, 2012, at 5:04 PM, Richard Henderson wrote: > > > On 06/21/2012 12:48 AM, Tristan Gingold wrote: > >> 2012-06-18 Tristan Gingold > >> > >>* config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ... > >>(seh_cfa_adjust_c

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-25 Thread Tristan Gingold
On Jun 22, 2012, at 5:04 PM, Richard Henderson wrote: > On 06/21/2012 12:48 AM, Tristan Gingold wrote: >> 2012-06-18 Tristan Gingold >> >> * config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ... >> (seh_cfa_adjust_cfa): ... that function. >> (seh_emit_stackalloc): Do

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-22 Thread Richard Henderson
On 06/21/2012 12:48 AM, Tristan Gingold wrote: > 2012-06-18 Tristan Gingold > > * config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ... > (seh_cfa_adjust_cfa): ... that function. > (seh_emit_stackalloc): Do not emit out of range values. > * config/i386/i386.md

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-22 Thread Tristan Gingold
On Jun 21, 2012, at 8:19 PM, Richard Henderson wrote: > On 2012-06-21 00:48, Tristan Gingold wrote: >> @@ -9142,9 +9152,12 @@ ix86_compute_frame_layout (struct ix86_frame *frame) >> { >> HOST_WIDE_INT diff; >> >> - /* If we can leave the frame pointer where it is, do so. */ >> +

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-21 Thread Richard Henderson
On 2012-06-21 00:48, Tristan Gingold wrote: > @@ -9142,9 +9152,12 @@ ix86_compute_frame_layout (struct ix86_frame *frame) > { >HOST_WIDE_INT diff; > > - /* If we can leave the frame pointer where it is, do so. */ > + /* If we can leave the frame pointer where it is, do so.

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-21 Thread Tristan Gingold
On Jun 21, 2012, at 1:57 PM, Václav Zeman wrote: > On 21 June 2012 09:48, Tristan Gingold wrote: >> Here is the new version. It is now possible to use __builtin_frame_address >> (0) to get the current establisher frame thanks to a tiny adjustment. >> >> No regressions on x86_64-linux, and an x

Re: [Patch-v2] Adjustments for Windows x64 SEH

2012-06-21 Thread Václav Zeman
On 21 June 2012 09:48, Tristan Gingold wrote: > Here is the new version.  It is now possible to use __builtin_frame_address > (0) to get the current establisher frame thanks to a tiny adjustment. > > No regressions on x86_64-linux, and an x86_64-windows native gdb can be built > and run. > > Tris