[Bug c++/16693] [3.4/3.5 regression] Bitwise AND is lost when used within a cast to an enum of the same precision

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jul 26 13:50:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-26 13:50 -------
I think this is caused by fold which does the following transformation:
(cast)(a & constant) -> ((cast)a) & ((cast)constant).

-- 


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



More information about the Gcc-bugs mailing list