Re: [PATCH] Fix PR rtl-optimization/115038

2024-05-22 Thread Jeff Law
On 5/20/24 1:13 AM, Eric Botcazou wrote: Hi, this is a regression present on mainline and 14 branch under the form of an ICE in seh_cfa_offset from config/i386/winnt.cc on the attached C++ testcase compiled with -O2 -fno-omit-frame-pointer. The problem directly comes from the -ffold-mem-offs

[PATCH] Fix PR rtl-optimization/115038

2024-05-20 Thread Eric Botcazou
Hi, this is a regression present on mainline and 14 branch under the form of an ICE in seh_cfa_offset from config/i386/winnt.cc on the attached C++ testcase compiled with -O2 -fno-omit-frame-pointer. The problem directly comes from the -ffold-mem-offsets pass messing up with the prologue and t