Re: [i386] Fix wrong argument value on Windows

2019-02-06 Thread Uros Bizjak
> this is a regression present on all active branches: if you compile the > attached Ada testcase with -O2 -gnatp -fno-omit-frame-pointer for 32-bit > Windows, you'll see that the compiler swaps a load based on the stack pointer > with a store based on the frame pointer, thus clobbering a saved arg

[i386] Fix wrong argument value on Windows

2019-02-06 Thread Eric Botcazou
Hi, this is a regression present on all active branches: if you compile the attached Ada testcase with -O2 -gnatp -fno-omit-frame-pointer for 32-bit Windows, you'll see that the compiler swaps a load based on the stack pointer with a store based on the frame pointer, thus clobbering a saved arg