https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108937
--- Comment #3 from saitofuyuki at jamstec dot go.jp --- Thanks a lot. > Not sure it's a bug. I see. I do agree it's not a bug and the answer of the particular case is undefined. But (for 32-bit integer case), since implemented ISHFT(I,32) returns 0 for any representation of I, I suppose it may be better to return I as it is by IBITS(I,0,32) (again, I agree it is not defined by standard). Anyway, thanks a lot for your comment.