This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Potential bug with wide_int_storage::set_len


> If set_len really does 'ignore' signedness, then we are not treating X
> as having signedness SGN.

It does not, my interpretation is that it sign-extends when the value is not 
already sign-extended, probably for the reason exposed by Richard.  But that's 
admittedly quite confusing so a comment by the author would be in order.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]