Re: [PATCH] Call validize_mem in assign_386_stack_local (PR target/50092)

2011-08-18 Thread Richard Henderson
On 08/18/2011 07:03 AM, Jakub Jelinek wrote: > PR target/50092 > * config/i386/i386.c (assign_386_stack_local): Call validize_mem > on the result before returning it. > > * gcc.dg/torture/pr50092.c: New test. Ok. r~

[PATCH] Call validize_mem in assign_386_stack_local (PR target/50092)

2011-08-18 Thread Jakub Jelinek
Hi! If stack frame size is larger than 2GB, the MEMs returned by assign_386_stack_local aren't necessarily valid MEMs. While we could do validize_mem in all the assign_386_stack_local callers, it seems far easier to do it just in one (well, two actually) spots. Bootstrapped/regtested on x86_64-l