Re: [PATCH] PR middle-end/80270: ICE in extract_bit_field_1

2022-02-28 Thread Eric Botcazou via Gcc-patches
> This patch has been tested on x86_64-pc-linux-gnu with make bootstrap > and make -k check with no new failures. Ok for mainline? > > > 2022-02-27 Roger Sayle > > gcc/ChangeLog > PR middle-end/80270 > * expmed.cc (extract_integral_bit_field): If OP0 is a hard > register, c

[PATCH] PR middle-end/80270: ICE in extract_bit_field_1

2022-02-27 Thread Roger Sayle
This patch fixes PR middle-end/80270, an ICE-on-valid regression, where performing a bitfield extraction on a variable explicitly stored in a hard register by the user causes a segmentation fault during RTL expansion. Nearly identical source code without the "asm" qualifier compiles fine. The po