On Sun, Jul 27, 2025 at 09:27:30PM -0400, Pietro Monteiro wrote:
> On Mon, Jul 14, 2025, at 10:43 PM, Hans-Peter Nilsson wrote:
> > Tested to fix build for MMIX (and to fix a few type-generic-builtin
> > test-cases; c-c++-common/pr111309-1.c, gcc.dg/torture/pr116480-1.c).
> > Also regtested cris-elf and native x86_64-pc-linux-gnu.
> 
> FYI, this patch also fixes PR120144, similar ICE related to
> MAX_FIXED_MODE_SIZE/int128 when building libstdc++ for mips64-elf.

The patch looks wrong to me.
The FE lowering of the wider integer bit queries needs to perform
shifts etc., so it shouldn't be larger than MAX_FIXED_MODE_SIZE.
If you have a target with bogus MAX_FIXED_MODE_SIZE definition, you should
just fix that.

        Jakub

Reply via email to