Re: [PATCH] sra: Avoid SRAing if there is an aout-of-bounds access (PR 96820)

2020-08-31 Thread Richard Biener
On Fri, 28 Aug 2020, Martin Jambor wrote: > Hi, > > the testcase causes and ICE in the SRA verifier on x86_64 when > compiling with -m32 because build_user_friendly_ref_for_offset looks > at an out-of-bounds array_ref within an array_ref which accesses an > offset which does not fit into a signed

[PATCH] sra: Avoid SRAing if there is an aout-of-bounds access (PR 96820)

2020-08-28 Thread Martin Jambor
Hi, the testcase causes and ICE in the SRA verifier on x86_64 when compiling with -m32 because build_user_friendly_ref_for_offset looks at an out-of-bounds array_ref within an array_ref which accesses an offset which does not fit into a signed 32bit integer and turns it into an array-ref with a ne