Re: [COMMITTED] Remove assert from set_nonzero_bits.

2022-10-04 Thread Jeff Law via Gcc-patches
On 10/4/22 11:52, Aldy Hernandez wrote: The assert removed by this patch was there to keep users from passing masks of incompatible types. The self tests are passing host wide ints down (set_nonzero_bits (-1)), which seem to be 32 bits, whereas some embedded targets have integer_type_node's of

[COMMITTED] Remove assert from set_nonzero_bits.

2022-10-04 Thread Aldy Hernandez via Gcc-patches
The assert removed by this patch was there to keep users from passing masks of incompatible types. The self tests are passing host wide ints down (set_nonzero_bits (-1)), which seem to be 32 bits, whereas some embedded targets have integer_type_node's of 16-bits. This is causing problems in m32c-