This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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  <gingold@adacore.com>
>> 
>> 	* 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: Delete unused UNSPEC_REG_SAVE,
>> 	UNSPEC_DEF_CFA constants.
>> 	* config/i386/i386.h (SEH_MAX_FRAME_SIZE): Define.
>> 	* config/i386/i386.c (ix86_frame_pointer_required): Required
>> 	for very large frames on SEH target.
>> 	(ix86_compute_frame_layout): Save area is before frame pointer
>> 	on SEH target.  Handle very large frames.
>> 	(ix86_expand_prologue): Likewise.
> 
> Ok.

I propose to backport it to the gcc 4.7 branch, as it fixes two issues: incorrect unwind info emitted and support of setjmp.
Is it Ok ?

Tristan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]