------- Comment #1 from rguenth at gcc dot gnu dot org 2009-08-08 10:38 -------
Shifting by more than the bitsize of the value invokes undefined behavior
(GCC implements shift count truncation for targets that would do this in
hardware which is why you see 5 as result).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41007