Re: [PATCH] middle-end/118643 - ICE with out-of-bound decl access

2025-01-27 Thread Jakub Jelinek
On Mon, Jan 27, 2025 at 11:32:17AM +0100, Richard Biener wrote: > When RTL expansion of an out-of-bound access of a register falls > back to a BIT_FIELD_REF we have to ensure that's valid. The > following avoids negative offsets by expanding through a stack > temporary. > > Bootstrap and regtest

[PATCH] middle-end/118643 - ICE with out-of-bound decl access

2025-01-27 Thread Richard Biener
When RTL expansion of an out-of-bound access of a register falls back to a BIT_FIELD_REF we have to ensure that's valid. The following avoids negative offsets by expanding through a stack temporary. Bootstrap and regtest running on x86_64-unknown-linux-gnu. OK if that succeeds? Thanks, Richard.