Rajiv KI <rajivkumarsingla@xxxxxxx> writes: > Mode of RTL expression 'CONST_INT' is VOIDmode. Is there any way i can make > its mode to SImode or any other mode even. > > I have tried PUT_MODE macro.As CONST_INT has only one operand as 'w' (wide > integer).I think due to that It was not effective. > > Please help me in resolving this. By definition CONST_INT rtxes have no mode. They take on whatever mode the context requires. This is indeed awkward in some cases, and sometimes requires maintaining the mode separately. Ian