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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> While you're at it, the <number>ULL uses in ext-dce.cc should be
> HOST_WIDE_INT_UC (<number>) or 1ULL should be HOST_WIDE_INT_1U.

It might also be a wise idea in these cases where a shift
is a computed amount, to have a sanity check to make sure
that the shift is <= sizeof( type) * 8.

Something like 

    assert( GET_MODE_BITSIZE (mode).to_constant () - 1 <= sizeof( unsigned long
long));

in the faulty code.

Reply via email to