https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
William Westfield <westfw at westfw dot info> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |westfw at westfw dot info --- Comment #15 from William Westfield <westfw at westfw dot info> --- It seems especially weird that the following AVR program generates the warning for only the "&=" statement. #include "avr/io.h" int main(void){ DDRD &= ~_BV(PD3); DDRD |= _BV(PD3); return 0; }