[Bug c/28195] << (shift operator) does rotate operation
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 28 18:02:00 GMT 2006
------- Comment #1 from falk at debian dot org 2006-06-28 17:57 -------
Shifting by an amount larger than the size of a type is undefined behavior,
so anything might happen. Gcc even warns about this.
--
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28195
More information about the Gcc-bugs
mailing list