https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122266

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Roger Sayle from comment #5)
> The last_set_sign_bit_copies field in combine.cc is "char" which overflows
> for 128-bit TImode, on platforms where char is default signed.  I can't be
> sure but a negative value in this field (probably) leads to bad things
> happening.

And the values this var hold come from the num_sign_bit_copies function,
which returns an unsigned int.  If making this field "unsigned" helps, that
change is preapproved :-)

Reply via email to