[Bug c++/26292] Bad code in unsigned shifts

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Tue Feb 14 21:51:00 GMT 2006



------- Comment #1 from igodard at pacbell dot net  2006-02-14 21:51 -------
FWIW, "uint(1) << 32" gives zero, but "int i = 32; uint(1) << i" gives one.

Ivan


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26292



More information about the Gcc-bugs mailing list