This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18031] OR of a bitfield and a constant is not optimized at tree level



------- Comment #9 from rguenth at gcc dot gnu dot org  2006-10-24 13:07 -------
We should at least fold

  b->bit = (<unnamed type>) (unsigned char) ((signed char) b->bit | 1);

to

  b->bit = (<unnamed type>) ((signed char) b->bit | 1);


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]