Re: [PATCH 11/61] Fix unsafe comparison against stack_pointer_rtx

2025-05-28 Thread Aleksandar Rakic
Todorovic; c...@mips.com Subject: Re: [PATCH 11/61] Fix unsafe comparison against stack_pointer_rtx Hi, > > GCC can modify a rtx which was created using stack_pointer_rtx. > > This means that just doing a straight address comparision of a rtx > > against stack_pointer_rtx to see wheth

Re: [PATCH 11/61] Fix unsafe comparison against stack_pointer_rtx

2025-05-14 Thread Aleksandar Rakic
HTEC Public Hi, > > GCC can modify a rtx which was created using stack_pointer_rtx. > > This means that just doing a straight address comparision of a rtx > > against stack_pointer_rtx to see whether it is the stack pointer > > register will not be correct in all cases. > Umm, no. There is one a

Re: [PATCH 11/61] Fix unsafe comparison against stack_pointer_rtx

2025-04-19 Thread Jeff Law
On 1/31/25 10:13 AM, Aleksandar Rakic wrote: From: Andrew Bennett GCC can modify a rtx which was created using stack_pointer_rtx. This means that just doing a straight address comparision of a rtx against stack_pointer_rtx to see whether it is the stack pointer register will not be correct i

[PATCH 11/61] Fix unsafe comparison against stack_pointer_rtx

2025-01-31 Thread Aleksandar Rakic
From: Andrew Bennett GCC can modify a rtx which was created using stack_pointer_rtx. This means that just doing a straight address comparision of a rtx against stack_pointer_rtx to see whether it is the stack pointer register will not be correct in all cases. This patch rewrites these comparison