Re: [committed] i386: Fix offset calculation in ix86_redzone_clobber

2025-03-28 Thread Uros Bizjak
On Thu, Mar 27, 2025 at 11:24 PM Jakub Jelinek wrote: > > On Thu, Mar 27, 2025 at 09:28:31PM +0100, Uros Bizjak wrote: > > plus_constant expects integer as its third argument, not rtx. > > > > gcc/ChangeLog: > > > > * config/i386/i386.cc (ix86_redzone_clobber): Use integer, not rtx > > as

Re: [committed] i386: Fix offset calculation in ix86_redzone_clobber

2025-03-27 Thread Jakub Jelinek
On Thu, Mar 27, 2025 at 09:28:31PM +0100, Uros Bizjak wrote: > plus_constant expects integer as its third argument, not rtx. > > gcc/ChangeLog: > > * config/i386/i386.cc (ix86_redzone_clobber): Use integer, not rtx > as the third argument of plus_constant. Oops, thanks for catching this.

[committed] i386: Fix offset calculation in ix86_redzone_clobber

2025-03-27 Thread Uros Bizjak
plus_constant expects integer as its third argument, not rtx. gcc/ChangeLog: * config/i386/i386.cc (ix86_redzone_clobber): Use integer, not rtx as the third argument of plus_constant. Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}. Uros. diff --git a/gcc/config/i386/i