https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- Another test case: void bla(unsigned char buffer, int offset) { buffer = buffer | (unsigned char)(offset & 255); } GCC 5/6 warn, 4.9 doesn't.