Re: [x86] Fix PR target/99264

2021-03-03 Thread Eric Botcazou
> LGTM. Thanks. However, I overlooked an issue with pathologically large frames (larger than SEH_MAX_FRAME_SIZE, i.e. 2GB and for which we cannot emit CFI directives) that is visible in the gnat.dg testsuite under the form of an ICE. Tested on x86_64-w64-mingw32, applied on mainline/10/9

Re: [x86] Fix PR target/99264

2021-02-28 Thread Uros Bizjak via Gcc-patches
On Fri, Feb 26, 2021 at 5:14 PM Eric Botcazou wrote: > > Hi, > > this wrong-code PR for the C++ compiler on x86-64/Windows is a regression > in GCC 9 and later, but the underlying issue has probably been there since > SEH was implemented and is exposed by this comment in config/i386/winnt.c: > >

[x86] Fix PR target/99264

2021-02-26 Thread Eric Botcazou
Hi, this wrong-code PR for the C++ compiler on x86-64/Windows is a regression in GCC 9 and later, but the underlying issue has probably been there since SEH was implemented and is exposed by this comment in config/i386/winnt.c: /* SEH records saves relative to the "current" stack pointer,